(a) During the term of the solar-use easement, the county or city shall not approve any land use on land covered by a solar easement that is inconsistent with the easement, and no building permit may be issued for any structure that would violate the easement. The county or city shall seek, by appropriate proceedings, an injunction against any threatened construction or other development or activity on the land that would violate the easement and shall seek a mandatory injunction requiring the removal of any structure erected in violation of the easement. If the county or city fails to seek an injunction against any threatened construction or other development or activity on the land that would violate the easement or to seek a mandatory injunction requiring the removal of any structure erected in violation of the easement, or if the county or city should construct any structure or development or conduct or permit any activity in violation of the easement, a person or entity may, by appropriate proceedings, seek an injunction.