The county governing body or historic preservation commission shall be authorized to institute any appropriate action or proceeding in a court of competent jurisdiction to prevent any illegal act or conduct with respect to such historic property or historic district and to prevent material change in the appearance of a designated historic property or historic district, except those changes made in compliance with the provisions of an ordinance adopted in conformity with this article.