(1) The benefit of a supplier's promises to the lessor under the supply contract and of all warranties, whether express or implied, including those of any third party provided in connection with or as part of the supply contract, extends to the lessee to the extent of the lessee's leasehold interest under a finance lease related to the supply contract, but is subject to the terms of the warranty and of the supply contract and all defenses or claims arising therefrom.