Not all member nations agreed. Romania, the Czech Republic, Slovakia and Hungary all voted against accepting mandatory quotas. Finland abstained from voting. Poland also voted to approve the deal, even though they opposed it.
The UN refugee agency said the scheme would be insufficient, given the large numbers arriving in Europe.
ABC’s Tom Rivers has more specifics on the agreement.