The county attorney or an attorney representing the county may file an action in a district court to enjoin a violation or threatened violation of an order adopted under this subchapter. The court may grant appropriate relief.