Wherever the court sees fit, and in particular where the adjacent owner is not an owner beneficially entitled to the fee simple free from encumbrances, the court may determine—
(a) to whom, for whose benefit, and in what proportions the compensation is to be paid or applied; and
(b) by whom the conveyance, transfer, or lease of the subject land or grant in respect of the subject land is to be made.