The operation referred to in Article 230-32 is authorised:
1° As part of an investigation in flagrante delicto, a preliminary investigation or a procedure provided for in articles 74 to 74-2, by the public prosecutor, for a maximum period of fifteen consecutive days in the cases provided for in articles 74 to 74-2 or when the investigation concerns a crime or an offence mentioned in articles 706-73 or 706-73-1, or for a maximum of eight consecutive days in other cases. At the end of these periods, this operation is authorised by the liberty and custody judge at the request of the public prosecutor, for a maximum period of one month, renewable under the same conditions of form and duration;
2° As part of an investigation or inquiry into the causes of death or the causes of disappearance mentioned in articles 74,74-1 and 80-4, by the investigating judge, for a maximum period of four months renewable under the same conditions of form and duration.
The total duration of this operation may not exceed one year or, in the case of an offence under Articles 706-73 or 706-73-1, two years.
The decision of the public prosecutor, the liberty and custody judge or the examining magistrate shall be in writing and reasoned by reference to the factual and legal elements justifying that these operations are necessary. It does not have judicial status and is not subject to appeal.