California courts do whatever they want. Did you know that CA banned affirmative action by statewide referendum? And gay marriage? CA is the least democratic state in the country, by a wide margin.
California voters later enshrined the right to gay marriage into the state constitution by a statewide referendum that won by larger margin than the earlier anti-gay marriage referendum won by.