https://en.wikipedia.org/wiki/New_Pact_on_Migration_and_Asylum
The EU’s Migrant Pact came into force on June 12 2026. It means that when there’s a sudden big influx of illegal migrants arriving in a country (Spain), that country can use the EU’s Solidarity Mechanism.
It obliges other EU states taking in quota migrants from that country (to relieve pressure) or having to pay tens of thousands euros for every quota migrant assigned to them that they refused take in.