66Lastly, it is important to recall that Directive 2008/115 does not prevent Member States from being able to impose a sentence of imprisonment to punish the commission of offences other than those stemming from the mere fact of illegal entry, including in situations where the return procedure established by the directive has not yet been completed (judgment of 7 June 2016, Affum, C‑47/15, EU:C:2016:408, paragraph 65). Therefore, the directive does not preclude either the apprehension or detention in custody of an illegally staying third-country national where such measures are adopted on the ground that that person is suspected of having committed an offence other than merely having entered into national territory illegally, in particular an offence that is likely to pose a threat to public policy or internal security in the Member State concerned.
Source: EUR-Lex, © European Union, 1998-2026. Reuse authorised under Decision 2011/833/EU.