The European Parliament voted through changes on the EU Pact on Migration and Asylum, ending years of division.
The new rules include controversial measures like taking facial images and fingerprints from children as young as six, and possible detention during screening.