Section 410. Notwithstanding any thing contained in this section when the occupier of

any premises pays any instalment of improvement expenses he shall subject
to any agreement to the contr ary, if any, between himself and the owner of
such pre mises be entitled to deduct the amount of such instalment from the
rent payable by him to such owner or to recover such amount from such owner
in pursuance of any order of a court of competent jurisdiction.