Judgment of the Court (Grand Chamber) of 19 December 2024.#P and Others v Staatssecretaris van Justitie en Veiligheid.#Reference for a preliminary ruling – Asylum policy – Temporary protection in the event of a mass influx of displaced person – Directive 2001/55/EC – Articles 4 and 7 – Invasion of Ukraine by Russian armed forces – Implementing Decision (EU) 2022/382 – Article 2(3) – Option for a Member State to grant temporary protection to displaced persons who are not referred to in that decision – Point in time when a Member State that has granted such persons temporary protection may terminate that protection – Return of illegally staying third-country nationals – Directive 2008/115/EC – Article 6 – Return decision – Point in time when a Member State may issue a return decision – Illegal stay.#Joined Cases C-244/24 and C-290/24.