Germany, France and up to 21 other countries will give an ultimatum to Hungary and Poland this year demanding that they accept their quota of migrants or get out of the EU.

Hungary has led a rebellion against the quotas with a challenge in the EU courts and by pushing for a “cultural counter-revolution” against the centralisation of powers in Brussels.

Poland has ignored the European Commission’s criticism and tried last month to veto Donald Tusk, a former Polish prime minister, from being reappointed president of the European Council.

Both countries have ignored proposals introduced by the EU in 2015 to relocate 160,000 migrants who had arrived in southern EU countries to other member states to ease the impact of the flood of migrants.

The