Any threatened violation of any provision of this part or of any order or regulation of the State Fire Marshal issued pursuant to this part may be enjoined in a civil action brought in the name of the people of the State of California. Such actions may be instituted by the Attorney General or the district attorney of the county in which the act, practice, or transaction is about to be committed.