Curbing irregular arrivals is a political priority but legal and humanitarian questions cannot be brushed aside