The Lord Jesus who knew no sin was made sin for us that we should become the righteousness of God. So before God we are justified, as we have never sinned.