2804. A member of the California Highway Patrol upon reasonable
belief that any vehicle is being operated in violation of any
provisions of this code or is in such unsafe condition as to endanger
any person, may require the driver of the vehicle to stop and submit
to an inspection of the vehicle, and its equipment, license plates,
and registration card.
2806. Any regularly employed and salaried police officer or deputy
sheriff, or any reserve police officer or reserve deputy sheriff
listed in Section 830.6 of the Penal Code, having reasonable cause to
believe that any vehicle or combination of vehicles is not equipped
as required by this code or is in any unsafe condition as to endanger
any person, may require the driver to stop and submit the vehicle or
combination of vehicles to an inspection and those tests as may be
appropriate to determine the safety to persons and compliance with
the code.