Compensation under section 45(1) is not payable for an improvement specified in Part I of Schedule 5 to the 1991 Act unless, before the improvement was carried out, the landlord consented to it in writing (whether unconditionally or upon terms agreed on between the parties).