Article 715 of the French Code of Criminal Procedure
The examining magistrate, the president of the examining chamber and the president of the assize court, as well as the public prosecutor and the public prosecutor, may give all necessary orders either for the investigation or for the trial, which must be carried out in the remand prisons. .