The commission or the secretary may bring an action for judicial relief from the secretary’s written notice, or from noncompliance by the commission with the written notice, as the case may be, in a court of competent jurisdiction, which may issue a temporary restraining order, permanent injunction, or other appropriate relief.