(d) The provisions of subparagraph (a) shall not apply to any violation of 540-A:3, V-a, V-b, V-c, or X.
(e) Landlord damages for any unlawful dispossession or lock-out of a tenant from the premises where the landlord has re-let the premises or has a new tenant in the premises shall not be less than $3,000. In the event the damages exceed the $3,000 minimum, the award shall not exceed the amount that would have been awarded pursuant to subparagraph (a).
(f) Notwithstanding the provisions of subparagraph (a), a landlord who violates RSA 540-A:3, VIII shall be subject only to returning to the applicant all monies provided by the applicant as part of their application, plus court costs.
(g) If the court finds that the plaintiff's allegation of a violation of RSA 540-A:3, IX was not made in good faith, the defendant shall be awarded actual damages or $1000 whichever is greater.
X. If an action initiated under RSA 540-A:3 is found to be frivolous or brought solely for harassment, the plaintiff shall pay to the defendant the costs of said action including reasonable attorney's fees. If such frivolous action was brought by the tenant, he shall not be entitled to the protection of paragraph XI of this section.
XI. No action for possession may be maintained by the landlord against a tenant who proves a violation of RSA 540-A:3 except for nonpayment of rent, violation of a substantial obligation of the rental agreement or lease, or violation of this subdivision within 6 months of an action instituted under this subdivision by a tenant; nor shall the landlord take any other action in reprisal.
XII. Relinquishment of possession or abandonment of possession shall be an affirmative defense to an action brought pursuant to this chapter.