We had a discussion earlier in another thread about whether rights of the state are so different from the rights of the individual, and this is precisely why, and precisely what federal courts are designed to do: To protect the individual and the minority when the legislature is used as a flail to beat them down with the voice of the majority.
California isn't as Liberal as many Conservatives think. Outside of San Francisco (not even the entire Bay Area), Los Angeles (the city, not the entire metropolitan area), and several other pockets of liberal interestingness (which do include Santa Cruz, and the other proper cities but not include, despite popular opinion, even many areas in Berkeley), rural California is, like many other rural areas, highly Conservative. It just happens that those few (large) pockets of Liberal nature encompass a large amount of the state's population. However, a large amount of that population is youth who are less able to get out and vote than your average adult professional.
Essentially, as in most things, it is a more complicated situation than can be placed on a bumper sticker. All you have to do to realize that California is not some uberliberal paradise is go to Boulder Creek (in the bay area), Tracy (Sacramento), any northern rural city other than seaside, or Newport Beach.