Article L342-3 of the French Code governing the entry and residence of foreign nationals and the right of asylum
The foreign national is kept at the disposal of the courts under conditions set by the public prosecutor for the time strictly necessary for the hearing to take place and for the order to be made.