Article R342-21 of the French Code governing the entry and residence of foreign nationals and the right of asylum
When the foreign national is held at the disposal of the courts, the public prosecutor decides on the conditions of the holding. He shall inform the foreign national and the administrative authority that ordered the foreign national to be held in the waiting area of this without delay.