Scripture reveals Jesus is our righteous Judge
John 5:22 For not even the Father judges anyone, but He has given all judgment to the Son,
In order to understand Romans 8:1 you need to refer to the entire passage...
Romans 8:1 There is therefore now no condemnation to those who are in Christ Jesus, who do not walk according to the flesh (sin), but according to the Spirit. 2 For the law of the Spirit of life in Christ Jesus has 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 did by sending His own Son in the likeness of sinful flesh, on account of sin: He condemned sin in the flesh, 4 that the righteous requirement of the law might be fulfilled in us who do not walk according to the flesh but according to the Spirit. 5 For those who live according to the flesh (sin) set their minds on the things of the flesh, but those who live according to the Spirit, the things of the Spirit. 6 For to be carnally minded is death, but to be spiritually minded is life and peace. 7 Because the carnal mind is enmity against God; for it is not subject to the law of God, nor indeed can be. 8 So then, those who are in the flesh (sin) cannot please God.
Basically there is no condemnation (the wages of sin is death) if we are living in Christ. Those living in sin (flesh) is hostile to God's law. It's something the carnal mind can't understand according to Paul. Living in Christ we are in harmony with His law and in doing so there is no condemnation because we are keeping it.