Article L742-6 of the French Code governing the entry and residence of foreign nationals and the right of asylum
As an exception to article L. 742-4, the judge responsible for freedoms and detention may also be asked to extend the period of detention beyond thirty days if the foreign national has been sentenced to deportation for acts of terrorism covered by Title II of Book IV of the Penal Code or if he or she is the subject of a deportation order issued for behaviour linked to terrorist activities…