The official receiver or, if he has ceased to hold office, the president of the court, on the observations of the liquidator and the agent, shall determine, after obtaining the opinion of the public prosecutor, the portion of the remuneration which would have been due to the liquidator had he continued his mission, which shall accrue to the agent thus appointed.