Article R743-17 of the French Code governing the entry and residence of foreign nationals and the right of asylum
The order is communicated to the public prosecutor. It shall be notified by any means and as soon as possible to the foreign national and his counsel, if he has one, as well as to the authority that ordered the detention, who shall acknowledge receipt of it. >