I wouldn't call being judged by the Law and found guilty and denied access to heaven salvation. The bible says that those whose standard of righteousness is the Law will be judged by that standard and those whose standard is Jesus and what he did including his sinless life and the cross will be judged AS if they were Jesus themselves and found righteous. I have a feeling that only a very few will be allowed in heaven via the Law as God may be merciful and let some by even though in reality they did fail to keep it. To take that chance against tremendous odds when you have a guaranteed way through Christ is foolish IMO.
By the way, you are still suggesting two means of salvation here.
Try this. Salvation is the gift of God through faith. By faith and dependence upon God we all will keep His ten commandments not to be saved but because we love Him. With Jesus in you, you have no compulsion to steal etc.
Romans 7:
18 For I know that in me (that is, in my flesh,) dwelleth no good thing: for to will is present with me;
but how to perform that which is good I find not.
19
For the good that I would I do not: but the evil which I would not, that I do.
20 Now if I do that I would not, it is no more I that do it, but sin that dwelleth in me.
21 I find then a law, that, when I would do good, evil is present with me.
22
For I delight in the law of God after the inward man:
23 But I see another law in my members, warring against the law of my mind, and bringing me into captivity to the law of sin which is in my members.
24 O wretched man that I am! who shall deliver me from the body of this death?
25
I thank God through Jesus Christ our Lord. So then with the mind I myself serve the law of God; but with the flesh the law of sin.
Romans 8:
There is therefore now no condemnation to them which are in Christ Jesus, who walk not after the flesh, but after the Spirit.
2 For the law of the Spirit of life in Christ Jesus hath made me free from the law of sin and death.
3 For what the law could not do, in that it was weak through the flesh, God sending his own Son in the likeness of sinful flesh, and for sin, condemned sin in the flesh:
4
That the righteousness of the law might be fulfilled in us, who walk not after the flesh, but after the Spirit.