How could this be legal?
California politics is not about "legal"; like all Leftist societies it's about power.