El Tratado de Amsterdam creó competencias comunitarias en este ámbito en su título IV, con el artículo 62 del TCE como fundamento jurídico para la normativa relativa a los controles fronterizos y a la política de visados, y el artículo 63, apartado 3, del TCE como base explícita para las medidas relativas a la inmigración ilegal y la residencia ilegal, incluida la repatriación de los residentes ilegales.
The Treaty of Amsterdam created Community competences in this field in its Title IV, with Art. 62 TEC as the legal basis for regulations relating to border controls and visa policy, and Art. 63 (3) TEC as an explicit basis for measures on illegal immigration and illegal residence, including the repatriation of illegal residents.