In exceptional cases, the matter may again be referred to the liberty and custody judge for the purpose of extending the period of detention beyond the maximum period provided for in article L. 742-4, when one of the following situations arises in the last fifteen days:
1° The foreign national has obstructed the automatic enforcement of the removal decision;
2° The foreign national has submitted, with the sole aim of thwarting the removal decision:
a) an application for protection against removal under 9° of article L. 611-3 or 5° of Article L. 631-3;
b) or an application for asylum under the conditions provided for in Articles L. 754-1 and L. 754-3;
3° The removal decision could not be enforced due to the failure of the consulate to issue travel documents to the person concerned and it is established by the competent administrative authority that these documents must be issued as soon as possible.
The foreign national is held in detention until the judge has made a decision.
If the judge orders the extension of the period of detention, it shall run from the expiry of the last period of detention for a further period of no more than fifteen days.
If one of the circumstances mentioned in 1°, 2° or 3° arises during the exceptional extension ordered pursuant to the eighth paragraph, it may be renewed once, under the same conditions. The maximum duration of detention shall then not exceed ninety days.