migrant legislation