The appropriate attorney representing the county in the district court may seek injunctive relief to prevent the violation or threatened violation of the fire code.