Subsection A of this section does not preclude the city attorney from instituting an appropriate action or proceeding to prevent an unlawful erection, construction, reconstruction, addition, alteration, conversion, removal, demolition, maintenance or use or to restrain, correct or abate a violation, or to prevent the occupancy of a building or structure or portion thereof, or of the premises, or to prevent an illegal act, conduct, business or use in or about any premises.