Whenever any person is arrested by any member of the California Highway Patrol for any violation of any state law regulating the operation of vehicles or the use of the highways declared to be a misdemeanor but which offense is not specified in this code, he shall, in the judgment of the arresting officer, either be given a 10-day notice to appear in the manner provided in this chapter or be taken without unnecessary delay before a magistrate within the county in which the offense charged is alleged to have been committed and who has jurisdiction of the offense and is nearest or most accessible with reference to the place where the arrest is made, or, upon demand of the person arrested, before a magistrate in the judicial district in which the offense is alleged to have been committed.
Ca. Veh. Code § 40304