Where detention is used in order to determine or verify a third-country national’s or stateless person’s identity, it should only be used by Member States as a means of last resort and in full respect of the European Convention for the Protection of Human Rights and Fundamental Freedoms and in compliance with relevant Union law, including .