(a)
Any county may, by ordinance, prohibit the use of any highway located in an unincorporated residential or subdivision area by any commercial vehicle exceeding a gross weight of 14,000 pounds.
(b)
Any county of the third class, as defined by Section 28024 of the Government Code, or of the ninth class, as defined by Section 28030 of the Government Code, may, by ordinance, prohibit the use of any highway located in an unincorporated residential or subdivision area by any
commercial vehicle exceeding a gross weight of 5,000 pounds.
(c)
This section does not apply to a vehicle operated by, or on behalf of, a public utility in connection with the installation, operation, maintenance, or repair of its facilities.