In the event of a minor being caught in the act of committing a customs offence, customs detention takes place under the conditions set out for detention and police custody in articles L. 311-1 to L. 311-5, L. 411-1 and L. 413-1 to L. 413-15 of the French juvenile criminal justice code.