(a) It is unlawful to willfully fail or refuse to comply with a lawful order, signal, or direction of a peace officer, as defined in Chapter 4.5 (commencing with Section 830) of Title 3 of Part 2 of the Penal Code, when that peace officer is in uniform and is performing duties pursuant to any of the provisions of this code, or to refuse to submit to a lawful inspection pursuant to this code.
(b) Except as authorized pursuant to Section 24004, it is unlawful to fail or refuse to comply with a lawful out-of-service order issued by an authorized employee of the Department of the California Highway Patrol or by an authorized enforcement officer as described in subdivision (d).
(c) It is unlawful to fail or refuse to comply with a lawful out-of-service order issued by the United States Secretary of the Department of Transportation.
(d) “Out-of-Service order” means a declaration by an authorized enforcement officer of a federal, state, Canadian, Mexican, or local jurisdiction that a driver, a commercial motor vehicle, or a motor carrier operation is out-of-service pursuant to Section 386.72, 392.5, 392.9a, 395.13, or 396.9 of Title 49 of the Code of Federal Regulations, state law, or the North American Standard Out-of-Service Criteria.