IMO this is what SCOTUS is supposed to be doing...
Ruling on the Constitutionality or NON-Constitutionality of a state law:

https://dailycaller.com/2019/10/28/c...ry-law-scotus/

SCOTUS should NOT be making legislation by their rulings!