Section 12. The department shall have the right to institute, or to intervene as a party in, any action in any court of competent jurisdiction seeking mandamus, injunctive or other relief to compel compliance with any provision of this chapter or any rule, regulation or order adopted thereunder, or to restrain or otherwise prevent or prohibit any illegal or unauthorized conduct in connection therewith.