In any action by a landlord to recover possession of residential real property, the tenant may raise as an affirmative defense the failure of the landlord to comply with this Article. In addition, any landlord who fails to provide monetary relocation assistance as required by Section 165.06 shall be liable in a civil action to the tenant to whom such assistance is due for damages in the amount the landlord has failed to pay, together with reasonable attorney fees and costs as determined by the court. Violations of this Article shall be a misdemeanor.