EU interior ministers have approved a controversial plan to relocate 120,000 migrants across the continent over the next two years.
It will see migrants moved from Italy, Greece and Hungary to other EU countries.
Romania, the Czech Republic, Slovakia and Hungary voted against accepting mandatory quotas.
After the vote, Slovakia's prime minister said he would not accept the new quotas.
Finland abstained from the vote. Poland, which had opposed the proposal, voted for it.