there are sections of prop 215 that say that the county you live in can arrest you. because the sheriffs are contracted through the county.
now if it were a CHP, they are a state cop, and you would go to a STATE court where the judge will throw it out.
it all depends.