(a) If the court as a matter of law finds a lease contract or a clause of a lease contract to have been unconscionable at the time it was made, the court may refuse to enforce the lease contract, or it may enforce the remainder of the lease contract without the unconscionable clause, or it may so limit the application of an unconscionable clause as to avoid an unconscionable result.
(b) With respect to a consumer lease, if the court as a matter of law finds that a lease contract or a clause of a lease contract has been induced by unconscionable conduct or that unconscionable conduct has occurred in the collection of a claim arising from a lease contract, the court may grant appropriate relief.
(c) Before making a finding of unconscionability under (a) or (b) of this section, the court, on its own motion or that of a party, shall afford the parties a reasonable opportunity to present evidence as to the setting, purpose, and effect of the lease contract or clause of the contract, or of the conduct.
(d) Notwithstanding Rule 82, Alaska Rules of Civil Procedure, in an action in which the lessee claims unconscionability with respect to a consumer lease
(1) if the court finds unconscionability under (a) or (b) of this section, the court shall award reasonable attorney fees to the lessee;
(2) if the court does not find unconscionability and the lessee claiming unconscionability has brought or maintained an action the lessee knew to be groundless, the court shall award reasonable attorney fees to the party against whom the claim is made;
(3) in determining attorney fees, the amount of the recovery on behalf of the claimant under (a) and (b) of this section is not controlling.