They’ve already ruled that it’s a states rights issue. That’s called precedence.
You are correct. However, I am looking at the liberal Justices on the SCOTUS Sonia Sotomayor, Elena Kagan, and Ketanji Brown Jackson. They just need two more.