If the tenant refuses to allow entry pursuant to section 47a-16 or section 47a-16a, the landlord may obtain a declaratory judgment or injunctive relief to compel access or terminate the rental agreement. In either case the landlord may recover actual damages and reasonable attorney's fees.