These are unquestionably unconstitutional but that's never fixed because the DA will never pursue charges.
Without charges nobody can force the issue because nobody has standing.