Article 131-1 of the French Code of civil procedure
A judge hearing a dispute may, after obtaining the agreement of the parties, order mediation. The mediator appointed by the judge has the task of hearing the parties and comparing their points of view to enable them to find a solution to the dispute between them. Mediation may also be ordered during the course of proceedings by the interim relief judge.