As countries on both sides of the Atlantic ramp up deportations of undocumented migrants, Spain’s left-wing government is preparing to give legal status to hundreds of thousands of irregular workers. Prime Minister Pedro Sanchez has championed the amnesty as a way to not only give informal workers legal protections, but to also bring more money into a social security system increasingly under stress by the country’s ageing population.



This? from 2006? I’d consider this very much a different kind of immigration to the one we have now, It was two decades ago
https://www.airef.es/wp-content/uploads/2025/03/Opinión_sobre_la_sostenibilidad_de_las_AAPP_largo_plazo/BOX-5.-Fiscal-Impact-of-Immigration.pdf
also feel free to check what I answered in the comments to another user justifying my initial comment with sources and such