The emphasis in Romans 2 is fully on those Jewish people in the church in Rome who had forgotten that they needed to view the world as people who had been credited with righteousness, not people who had earned righteousness themselves. They were people who were thinking that they could find value in circumcision and forget all about the fact that without Christ, they were lawbreakers, if that was them, then circumcision was completely and utterly pointless.
And then, is also true that someone who’s not circumcised, but has had the righteousness of Christ credited to them by becoming a Christian, then is regarded as someone who is circumcised, and is not condemned, is not a lawbreaker. He’s better off than someone who is Jewish and circumcised, but is not relying on the righteousness of Christ.