The law also specially names the author of the law (Michael Weinstein) and requires the state to pay for his legal bills in "enforcing" the law.
The reason this is even an issue is that Michael Weinstein (whom I liken to "Jenny McCarthy meets Martin Shkreli"[0]) was pissed that OSHA didn't rule his way in his lawsuit against porn studio Treasure Island Media[1][2], so he took this statewide as an act of vengeance.
[0] Aside from being virulently anti-science, he's also behind Prop 61, which ostensibly reduces the price of HIV drugs, but in actuality includes a special carve-out for the HMO he runs, locking in guaranteed profit for himself.
[1] OSHA basically said "okay, you didn't use condoms when filming, but that's only worth a $100 fine, just as if you didn't have a first-aid kit on-site".
[2] If you're at work right now, you Google that name at your own risk