I'm not sure why it didn't happen here, but there are a lot of times where it does. Another article mentioned that no fines had been levied because of this law. That might be a reason it was allowed to stay in effect.
Edit:
https://www.pbs.org/newshour/politics/judge-says-california-...