A Spanish immigration amnesty drew 1.2 million applicants, double the expected number.
Madrid is unusual in Europe in maintaining an open immigration policy; elsewhere, governments, under pressure from populist anti-migrant parties, are closing borders.