It's the job of the court to interpret the consequences of the existing laws.
At one point, the court determined that access to abortion was a right, according to the 14th amendment. Meaning, that the 14th amendment was, among other things, a law that granted the right to access abortion services.
Later, the court decided to override their precedent, and declare that the 14th amendment did not grant the right to access abortion services.
I think you need to define what a "real law" is, and how the 14th amendment doesn't qualify in this context.