Where a determination is made that property or premises are in violation of this ordinance, or any other codes and laws enforced by the community development director, and all reasonable efforts to obtain compliance having been exhausted, the community development director shall be authorized to effect such compliance at public expense. The cost of effecting compliance shall constitute a lien on the property, which shall be recorded by the director in accordance with applicable law.