FREE now and never miss the top politics stories again. SUBSCRIBE Invalid email Sign up fornow and never miss the top politics stories again. We will use your email address only for sending you newsletters. Please see our Privacy Notice for details of your data protection rights.

Both countries have ignored EU proposals to relocate 160,000 migrants and the rest of the bloc is set to take action to ensure they share the burden. Poland has ignored criticism from the European Commission over its handling of the migrant crisis and last week Beata Szydlo, the country’s prime minister, criticised EU plans for a “two-speed” Europe which would allow more powerful members to develop faster than their poorer neighbours.

GETTY Hungarian PM Orban & Polish leader Beata Szydl have spoken out against the migrant quotas

Meanwhile, Hungary has pushed back against the centralisation of powers in Brussels and eurosceptic leader Viktor Orban called for the country’s borders to be closed during the height of the 2015 migrant crisis. The two countries will now have to decide if they are willing to maintain their anti-migrant rhetoric if it puts their EU membership under threat, a diplomatic source told the Times. The source said: “They will have to make a choice: are they in the European system or not? You cannot blackmail the EU, unity has a price.”

Powerful images as migrants protest in Hungary Tue, April 4, 2017 Migrants protest outside Budapest's Keleti Railway Station after it was closed off by police to prevent people travelling on to western Europe Play slideshow REUTERS 1 of 53 A migrant taunts Hungarian riot police as they fire tear gas and water cannon on the Serbian side of the border, near Roszke

GETTY Could their unwillingness to accept migrants quotas spell the end of the EU for Poland & Hungary?

The European Court of Justice (ECJ) is expected to look into the legality of the migrant quotas with a judgment, widely expected to be in favour of them, due before the end of the year. The source added: “We are confident that the ECJ will confirm validation, then they [Poland and Hungary] must abide by the decision.

“If they don’t then they will face consequences, both financial and political. “No more opt-outs, there is no more ‘one foot in and one foot out’. “We are going to be very tough on this.”

GETTY 2015 saw thousands of refugees arrive at European shores