24 All agreements made to be valid in law.

And every agreement so entered into in pursuance of this Act shall be good, valid and effectual in the law for the purposes thereby intended, notwithstanding the want of legal title in the said owner or owners, or in the said husbands, guardians, trustees, committees, agents, or receivers, or in the persons acting as such, or in the said tenants in tail, . . . F1 or tenants for life only, any settlement or settlements, will or wills, to the contrary in anywise notwithstanding.