The court shall rule on the applications for provisional or protective measures referred to in II of Article L. 692-2 after having heard or duly called in chambers the debtor who has not been divested, the insolvency practitioner in the main proceedings and, where applicable, the creditor who requested the provisional or protective measure, and after having obtained the opinion of the Public Prosecutor.