In addition to all other remedies, when it appears to the registrar, either upon complaint or otherwise, that a licensee has engaged in, or is engaging in, any act, practice, or transaction which constitutes a violation of this chapter whereby another person may be substantially injured, or that any person, who does not hold a state contractor's license in any classification, has engaged in, or is engaging in, any act, practice, or transaction which constitutes a violation of this chapter, whether or not there is substantial injury, the registrar may, either through the Attorney General or through the district attorney of the county in which the act, practice, or transaction is alleged to have been committed, apply to the superior court of that county or any other county in which such person maintains a place of business or resides, for an injunction restraining such person from acting in the capacity of a contractor without a license in violation of this chapter, or from acting in violation of this chapter when another person may be substantially injured, and, upon a proper showing, a temporary restraining order, a preliminary injunction, or a permanent injunction shall be granted.
Ca. Bus. and Prof'l. Code § 7028.3