Article R3211-42 of the French Public Health Code
The order of the liberty and custody judge may be appealed to the first president of the court of appeal or his delegate, within twenty-four hours of its notification. In all cases, the public prosecutor may lodge an appeal within the same time limit.