84In the first place, it must be recalled that the common standards and procedures established by Directive 2008/115 concern only the adoption of return decisions and the implementation of those decisions, since that directive is not designed to harmonise in their entirety Member States rules on the stay of foreign nationals. Consequently, that directive does not lay down rules concerning either how to attribute a right of residence to third-country nationals or the consequences of the illegal residence on the territory of a Member State of third-country nationals in respect of whom no decision on their return to a third country can be issued (see, to that effect, judgments of 8 May 2018, K.A. and Others (Family reunification in Belgium), C‑82/16, EU:C:2018:308, paragraphs 44 and 45, and of 24 February 2021, M and Others (Transfer to a Member State), C‑673/19, EU:C:2021:127, paragraphs 43 and 44).
Source: EUR-Lex, © European Union, 1998-2026. Reuse authorised under Decision 2011/833/EU.