( AFP ) - The European Union on Saturday reached agreement on a blueprint for a new treaty of reforms after striking a compromise with Poland following tense all-night talks at a crucial summit.
German Chancellor Angela Merkel hailed a "good compromise" with Poland over the voting system in the proposed treaty, the issue which had prompted Poland's populist leaders to threaten to block a deal.
Merkel said the agreement would make a bloc which has enlarged from 15 member states to 27 since 2004 better able to act.
The new treaty will replace the Union's failed constitution, which was torpedoed after voters in France and the Netherlands rejected it in 2005.
"I was sure that if we had not achieved this today we would have ended up in a rather disastrous situation as many would have thought they had been pushed too far," said Merkel, whose country holds the EU's rotating presidency till the end of the month.
"We have managed to organise things so that no one can go home and feel they have been put in the corner," she said.
Polish President Lech Kaczynski thanked France and Britain for their "solidarity" in helping to broker a deal.
British Prime Minister Tony Blair, in his final summit before leaving office next week, and newly elected French President Nicolas Sarkozy, had both engaged in attempts in the early hours of Saturday to persuade the Polish president and his twin brother, Prime Minister Jaroslaw Kaczynski, to drop their opposition.
The Kaczynskis had shocked European diplomats ahead of the summit by evoking their country's mass destruction at the hands of the Nazis in World War II as an argument for it to get its way on the voting issue.
Spelling out the compromise, Merkel said the double majority voting system -- which Poland strongly opposed because it fears it will give big countries too much decision-making power -- would not be introduced until 2014 and would then be phased in over the next three years.
The chancellor said the compromise on the voting mechanism was "what Poland desired".
Sarkozy acknowledged the talks had come close to failure, but hailed the deal as "very good news for Europe."
In a reference to Poland, Sarkozy said: "It was not possible to ignore the biggest country in eastern Europe."
Blair said the accord was a "chance to move on" after the "bind" which the European Union had got itself into with the doomed constitutional treaty.
"The most important thing is that it allows us to move on to things that are ultimately far more important," he told reporters after the deal was clinched.
"It gives us a chance to concentrate on the issues to do with the economy, organized crime, terrorism, immigration, defence, climate change, the environment, energy, the problems that really concern the citizens of Europe."
Blair largely succeeded in sticking to the four "red line" conditions he set for agreement on the new treaty -- that Britain would not cede control over foreign policy, its judicial and police system, tax and social security rules, and an EU charter of fundamental rights.
Merkel said the agreement reached at the summit meant there was a "good chance" that a new treaty could go into force in 2009 when elections to the European Parliament take place.