The EU’s international policy has several goals.
It protects Europe’s interests and averts terrorism, organized crime and illegal immigration.
It helps to maintain a habitable environment (climate policy, environmental protection).
It influences others to make and maintain peace (for example, in the Middle East or Africa).
It helps other countries to develop and to overcome poverty, illiteracy and underdevelopment.
It stands for democracy and the rule of law throughout the world.
Legal immigration is needed and wanted. There is a 'Blue Card' which lets people work in the EU for 1-4 years.
They are trying everything to stop illegal immigration and are trying to give opportunities for people to do it legally also they are working with the countries of origin to improve their living conditions.
A particular focus of EU foreign policy is a development policy cooperation with countries in the African, Caribbean, and Pacific Group of States (ACP). Economic partnership agreements are being signed with the 79 current ACP states, which are intended to help these countries to integrate into the global economy and take effective steps to combat poverty at home.
Works with others to combat Climate Change and other environmental factors.