Sections 4811-4816 of this title relating to betterments shall not extend to a person who has entered on land under a contract made with the legal owner, unless it appears on trial of the counterclaim for betterments that the owner has not fulfilled the contract.
12 V.S.A. § 4817