(a)
Notwithstanding any provision of law to the contrary, including, but not limited to, Title 3 (commencing with Section 9000) of Part 6 of Division 4 of the Civil Code, the Department of General Services may issue a stop work order when construction work on a public school is not being performed in accordance with existing law and would compromise the structural integrity of the building, thereby endangering the public safety. The Department of General Services shall allow construction of incidental and minor nonstructural additions or nonstructural alterations without invoking its stop work authority.
(b)
A school district, county superintendent of schools, county board of
education, or other public board, body, or officer whose construction work on a public school is subject to a stop work order issued pursuant to subdivision (a) shall not be held liable in any action filed against the public board, body, or officer for stopping work as required by the stop work order, or for any delays caused by compliance with the stop work order, except to the extent that an error or omission by the public board, body, or officer is the basis for the issuance of the stop work order.