After the tiny city of Los Alamitos, California voted to defy the California Values Act, better known as the Sanctuary State laws, a number of other municipalities joined with them and filed suit in federal court against the state.

The city of Huntington Beach took a slightly different tack. They sued in state court, alleging that the state didn’t have the right to interfere with the way charter cities’ law enforcement agencies interacted with federal immigration agents. The state attempted to merge the case with the pending federal cases, but Judge James Crandall ruled that they were two separate issues and ordered an expedited trial.

After trial Thursday, Judge Crandall ruled that SB 54 is an unconstitutional “overreach into a city’s right to govern its own police.”

The ruling applies to more than 100 charter cities in the state.

Bet Kevin de Leon didn’t see that one coming.