Where shares are sold in pursuance of an order of the court under section 801, the proceeds of the sale, less the costs of the sale, must be paid into court for the benefit of the persons who are beneficially interested in the shares.
A person who is beneficially interested in the shares may apply to the court for the whole or part of those proceeds to be paid to him.
If the court has ordered under section 801(5) that the costs (in Scotland, expenses) of an applicant under that section are to be paid out of the proceeds of sale, the applicant is entitled to payment of his costs (or expenses) out of those proceeds before any person interested in the shares receives any part of those proceeds.