The Socialist government's mass regularisation programme, which closed on 30 June, comes as others European countries crack down on irregular immigration.