The provisions of this chapter shall apply to the operator of any vehicle owned by or used in the service of the United States government, this state, any county or city, and it is unlawful for any said operator to violate any of the provisions of this chapter except as otherwise permitted in this chapter or by the Vehicle Code. (Prior code § 3002(f))