> Restricting a state from passing a law is quite different from federally mandating a state to pass a law.
From the decision:
"The distinction between compelling a State to enact legislation and prohibiting a State from enacting new laws is an empty one. The basic principle—that Congress cannot issue direct orders to state legislature—applies in either event."
It's not clear Congress has that power. The much more pertinent fact is that Congress can induce states to pass laws by withholding funding.
https://en.wikipedia.org/wiki/South_Dakota_v._Dole
> Restricting a state from passing a law is quite different from federally mandating a state to pass a law.
From the decision:
"The distinction between compelling a State to enact legislation and prohibiting a State from enacting new laws is an empty one. The basic principle—that Congress cannot issue direct orders to state legislature—applies in either event."