If it appears to the director that an insurer or a director, officer, employee, or agent of an insurer has violated or is about to violate this chapter or a regulation adopted or an order issued by the director under this chapter, the director may apply to the superior court in the judicial district in which the principal office of the insurer is located or if the insurer has no office in this state then to the superior court in the first judicial district for an order enjoining the insurer or a director, officer, employee, or agent of the insurer from the violation, and for other relief as the nature of the case and the interests of the insurer's policyholders, creditors and shareholders or the public may require.