19—Vesting order consequential on judgment for specific performance etc
Where a judgment is given for the specific performance of a contract
concerning any land, or for the partition, or sale in lieu of partition, or
exchange of any land, or generally where any judgment is given for the
conveyance of any land, either in cases arising out of the doctrine of
election or otherwise, the court may declare that any of the parties to the
action are trustees of the land, or any part thereof, within the meaning of
the Trustee Act 1936 or may declare that the interests of unborn persons
who might claim under any party to the action, or under the will or voluntary
settlement of any person deceased who was during his lifetime a party to the
contract or transactions concerning which the judgment is given, are the
interests of persons who, on coming into existence, would be trustees within
the meaning of the Trustee Act 1936 ; and thereupon the court may make a
vesting order relating to the rights of those persons, born and unborn, as if
they had been trustees.