There is a body of case law on Roe v Wade and Plessey v Ferguson. I don't believe in infallible courts. In fact, I have a very low opinion of the competency and honesty of courts. My observations are that courts routinely screw up their role of dispensing justice, such as in the case of Derick Chauvin, convicted of murder when he didn't kill anyone.
I could go on a long rant about how many courts have ruled absolutely ridiculous things, like the Colorado Supreme court regarding Trump on the ballot, but i'm sure you don't want to hear it.
I am not impressed with courts ability to come to a valid conclusion. Too often they fail.
Agreed on Roe and Plessey being wrongly decided.
The Supreme Court does not always get it right for sure. And Justices would echo that.
And as in the case of the Colorado Supreme Court, sometimes they get it really wrong. Things usually get worked out - but it can take time. Heck, the 2nd Amendment was not fully incorporated until 2010! :)