50-53-217. Recovery of costs by department or local jurisdiction. In a civil or criminal action brought by the department or a local jurisdiction to enforce the requirements of part 1 and this part, the rules of the department, or any condition of a license or to assess civil penalties and in an action brought by the department to enforce an order of the department, the court may, in the case of an intentional violation of part 1 and this part, assess the operator of the public swimming pool or public bathing place for the costs of any investigation and the costs of the civil or criminal action, including reasonable attorney fees.