Discretion, Competence and Migration in the European Union