The EU is stepping up its preparations for a 'no deal' Brexit after the UK rejected its ultimatum to drop plans to override key elements of the signed Withdrawal Agreement. Brussels warned it would take the UK to court if it moves ahead with the controversial bill it says that will put the Northern Ireland peace deal at risk. The EU said after emergency talks with the UK on Thursday, "The Withdrawal Agreement contains a number of mechanisms and legal remedies to address violations of the legal obligations contained in the text — which the European Union will not be shy in using." The UK has until the end of the month to withdraw the controversial measures from its draft bill, the European Commission said. London stuck to its guns in its own statement released around the same time on Thursday afternoon. "It is an established principle of international law that a state is obliged to discharge its treaty obligations in good faith," the UK government said. "This is and will remain the key principle in informing the UK's approach to international relations. "However, in the difficult and highly exceptional circumstances in which we find ourselves, it is important to remember the fundamental principle of parliamentary sovereignty." UK 'seriously damaged trust' The extraordinary meeting was held a day after the British government unveiled a draft Internal Market Bill that would allow it to alter parts of the Withdrawal Agreement Prime Minister Boris Johnson struck with the bloc and which came into force on Feb. 1 following the UK's official departure from the EU. The government argues the bill — which will be debated in Parliament on Sept. 14 — will ensure that it "will be able to deliver its commitment to protect peace in Northern Ireland and the Belfast/Good Friday Agreement, and to strengthen and maintain the UK internal market". But the EU disputes that. "The EU does not accept the argument that the aim of the draft Bill is to protect the Good Friday (Belfast) Agreement. In fact, it is of the view that it does the opposite," its statement read. The Protocol on Ireland/Northern Ireland included in the Withdrawal Agreement plans for the UK territory to continue to apply EU customs rules after the end of the transition period in order to avoid checks at the border with the Republic of Ireland, an EU member state This means that checks will have to be carried out on certain goods traveling between Northern Ireland and Great Britain, which the British government says will result in a de-facto border in the Irish Sea. The transition period expires on Dec. 31. 'EU is firm and united' The French Secretary of State for European Affairs, Clément Beaune, reacted to the Commission's statement on Twitter, writing: "To all those who doubt it, sometimes for good reasons: the European Union is firm and united, it defends its interests and protects its citizens." "We will remain calm and utterly determined," he added. According to Charles Grant, director of the Center for European Reform (CER) think tank, the UK government's draft bill, if passed by parliament, would have several consequences including a flare-up of violence on the Irish island, increased support for Scottish independence and a loss of legitimacy on the global stage with regards to respect for international law. He also predicts that London's relations with both Brussels and Washington will sour. Negotiations for a future trade deal between the UK and the EU have all but stalled in recent months with both sides blaming each other for the deadlock. The eighth round of Brexit negotiations between the EU's Michel Barnier and the UK's David Frost concluded on Thursday. — Euronews