(c) With regard to any violation of this title, the land use plan adopted by the commission, any regulation promulgated by the commission, or any order, determination or permit condition issued by the commission, there shall be independent jurisdiction among the village or town in which such violation occurred or is occurring to investigate and prosecute such violation as set forth in subdivisions two, three and four of this section. The commission or the attorney general at the request of the commission or upon the attorney general's own initiative shall also have independent jurisdiction to investigate and prosecute such violation as set forth in subdivisions two, three and four of this section. The party initiating such a prosecution shall consult with the other governmental entities named in this section before initiating such an action, except in a case involving a threat of irreparable harm or imminent violation or repeated violations of this title, the land use plan adopted by the commission, any regulation promulgated by the commission, or any order, determination or permit condition issued by the commission.