39. Where any Court, whether under section 38 or otherwise, orders the sale of any ship or share therein, the order of the Court shall contain a declaration vesting in some person named by the Court the right to transfer that ship or share, and thereupon the person so named shall be entitled to transfer the ship or share in the same manner and to the same extent as if he were the owner thereof, and shall, subject to the other provisions of this Ordinance, be deemed, in respect of the transfer of the ship or share, the owner thereof.