Assuming they acknowledge this at all, more and more laws are being written and passed knowing full well they violate federal law and will be challenged. The intent is not regulation of society, it’s political visibility and winning “points” among your electorate. Whether the law stands scrutiny is irrelevant