a. The department may institute an action in a court of competent jurisdiction for an order requiring the owner of property or other responsible person to abate or correct any violation of this code, or to comply with an order or notice of the department, or for such other relief as may be appropriate to secure continuing compliance with this code. An action for injunctive relief hereunder may be brought in addition to other sanctions and remedies for violations of the code, or may be joined with any action for such other sanctions and remedies except criminal prosecution.
b. Any tenant, or person or group of persons lawfully entitled to occupancy may individually or jointly apply to the housing part of the civil court for an order restraining the owner of the property from engaging in harassment. Except for an order on consent, such order may be granted upon or subsequent to a determination that a violation of subdivision d of section 27-2005 of this chapter has occurred.