(1) If the court as a matter of law finds a lease contract or any 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 any unconscionable clause as to avoid any unconscionable result.
(2) If a party claims that, or it appears to the court that, the lease contract or a clause within the contract may be unconscionable, the court shall allow a reasonable opportunity to present evidence as to the lease or clause's commercial setting, purpose, and effect to aid the court in making the determination.