On Tuesday, the nation’s highest court ruled that state legislatures cannot act unconstrained.