Immigrazione, come conciliare legalità e umanità