California Business And Professions Code Section 12012.1
The director may bring an action to enjoin the violation, or the threatened violation, of any provision of this division, or of any regulation adopted pursuant thereto, in the superior court in the county in which such violation occurs or is about to occur. There may be joined in one proceeding any number of defendants alleged to be violating the same provisions or regulations, although their properties, interests, residence, or place of business, may be in several counties and the violations separate and distinct. Any proceeding which is brought pursuant to this section shall be governed in all other respects by the provisions of Chapter 3 (commencing with Section 525), Title 7, Part 2 of the Code of Civil Procedure. The county sealer of any county acting through the district attorney or county counsel of that county may bring an action to enjoin the violation in such county or the threatened violation in such county of any provision of this division or of any regulation adopted pursuant thereto in the same manner as may the director, and if the director joins as a party plaintiff, such actions shall not be limited to violations occurring within the county.