Upon finding that any lease, or portion thereof, is unconscionable, the court shall exercise its authority to grant remedial relief as necessary to avoid an unconscionable result, taking into consideration the economic value of the lease. Such relief may include, but shall not be limited to rescission, reformation, restitution, the award of damages and reasonable attorney fees and court costs. A defendant may recover reasonable attorneys’ fees if the court determines that the cause of action filed by the plantiff  is frivolous, malicious, or lacking in substantial merit.
15 U.S. Code § 3608 - Judicial determinations respecting unconscionable leases
(a) Lease characteristics; authorization by unit owners; conditions precedent to actionCooperative and condominium unit owners through the unit owners’ association may bring an action seeking a judicial determination that a lease or leases, or portions thereof, were unconscionable at the time they were made. An action may be brought under this section if each such lease has all of the following characteristics:
it was made in connection with a cooperative or condominium project;
it is for a period of more than twenty-one years or is for a period of less than twenty-one years but contains automatic renewal provisions for a period of more than twenty-one years;
it contains an automatic rent increase clause; and
Such action must be authorized by the cooperative or condominium unit owners through a vote of not less than two-thirds of the owners of the units other than units owned by the developer or an affiliate of the developer, and may be brought by the cooperative or condominium unit owners through the units owners’ association. Prior to instituting such action, the cooperative or condominium unit owners must, through a vote of not less than two-thirds of the owners of the units other than units owned by the developer or an affiliate of the developer, agree to enter into negotiation with the lessor and must seek through such negotiation to eliminate or modify any lease terms that are alleged to be unconscionable; if an agreement is not reached in ninety days from the date on which the authorizing vote was taken, the unit owners may authorize an action after following the procedure specified in the preceding sentence.
(b) Presumption of unconscionability; rebuttalA rebuttal presumption of unconscionability exists if it is established that, in addition to the characteristics set forth in subsection (a) of this section, the lease—
contains provisions requiring either the cooperative or condominium unit owners or the cooperative or condominium association as lessees to assume all or substantially all obligations and liabilities associated with the maintenance, management and use of the leased property, in addition to the obligation to make lease payments;
requires an annual rental which exceeds 25 per centum of the appraised value of the leased property as improved: Provided, That, for purposes of this paragraph “annual rental” means the amount due during the first twelve months of the lease for all units, regardless of whether such units were occupied or sold during that period, and “appraised value” means the appraised value placed upon the leased property the first tax year after the sale of a unit in the condominium or after the sale of a membership or share interest in the cooperative association to a party who is not an affiliate of the developer.
(c) Presentation of evidence after finding of unconscionabilityWhenever it is claimed, or appears to the court, that a lease or any portion thereof is, or may have been, unconscionable at the time it was made, the parties shall be afforded a reasonable opportunity to present evidence at least as to–
whether a party has knowingly taken advantage of the inability of the other party reasonably to protect his interests;
(d) Remedial relief; matters considered; attorneys’ fees
(e) Actions allowed after termination of special developer controlNothing in this section may be construed to authorize the bringing of an action by cooperative and condominium unit owners’ association, seeking a judicial determination that a lease or leases, or portions thereof, are unconscionable, where such unit owners or a unit owners’ association representing them has, after the termination of special developer control, reached an agreement with a holder of such lease or leases which either—
 So in original. Probably should be “plaintiff”.