In addition to the revocation of the license for those reasons set forth in section 12-19, the county may petition any court of competent jurisdiction to temporarily and permanently enjoin any violation of this article and to require payment by the violator of all costs of court and attorney's fees incurred by the county.