Between Territorial Resilience and Capabilities Approach. The international Research Context and the future of the EU legal framework on immigration