Are there any Constitutionalists left on the Court? I mean government can ban anything, just because they’re elected. Are Thomas and Scalia abdicating?
As others have pointed out, it's a stupid law, but nothing in the federal Constitution says that the State of California can't pass stupid laws.