§ 6310. Enforcement. When necessary to effect the purposes of this chapter, in addition to all other remedies in law or equity, the Insurance Department or the Department of Health, or both, may commence an action in mandamus or for an injunction to prevent any violation of the provisions of this chapter or the continuance of any such violation, or to enforce compliance herewith. Any court having jurisdiction is hereby vested with authority to determine the cause and to issue such process as may be necessary to accomplish the purposes of this chapter.