I mean, they are the ones who are deciding if the precedent applies by the time it gets back up to them.
Also, you assume that basically anyone in the scotus gives a shit about long term consequences. They know they can get their 10-20 years before all the hell impacts them.
Like with a lot of these things: You are assuming good faith action. This is not a nickelodean sitcom where logic and puns trap the villains. The villains in this case will just say “We rule in our favor”