BRUSSELS -- The European Union reached a tentative climate deal that is intended to make the 27-nation bloc climate-neutral by 2050, with member states and parliament agreeing on new carbon emissions targets on the eve of a virtual summit hosted by U.S. President Joe Biden.

"Our political commitment to becoming the first climate-neutral continent by 2050 is now also a legal commitment. The climate law sets the EU on a green path for a generation," European Commission President Ursula von der Leyen said early Wednesday.

Under the provisional deal reached after officials negotiated through the night, the EU will also commit itself to an intermediate target of cutting greenhouse gas emissions by at least 55% by 2030 compared to 1990 levels.

"It was high time for the agreement, as Europe has to show where it stands in view of the positive developments in the USA and China," said European Parliament member Peter Liese, the negotiator for the EPP Christian Democrat group.

The 2030 target had been 40%, but under the pressure of increasing evidence of climate change and a more environmentally conscious electorate, it was pushed up, although the EU legislature had wanted a higher target of 60%.

Lawmakers from The Greens specifically complained that too many accounting tricks had been used to reach the level of 55% and that in reality the target would equate to a 52.8% reduction of direct emissions.

Michael Bloss, a European lawmaker with the Greens, said EU member nations and parliament "have rushed through a weak climate law for the sake of a photo-op with President Joe Biden."

Environmental campaigners also criticized the deal.

"European decision-makers missed a historic opportunity to adequately address the climate crisis," said Wendel Trio, director of Climate Action Network Europe. "This Climate Law is nothing more than a new package for what already exists."

But the chair of the negotiations, Pascal Canfin of the Renew Europe group, said it had been necessary to find a middle way. "The compromise reached is ambitious: we will do 2.5 times more in nine years than we have done in the last 10 years in Europe," he said.

The EU deal still needs to be officially approved by member countries and by the European Parliament, although the action should be little more than a rubber stamp.

The United States, the world's second-biggest polluter after China, is preparing to announce its new target for cutting greenhouse gas emissions by 2030 at the summit Thursday.

The virtual gathering is part of Biden's pledge to rejoin international efforts to curb global warming, which included rejoining the Paris climate accord that his predecessor, Donald Trump, quit last year.

While the U.S. is expected to aim for bigger cuts than the EU, it does so from a position of having far higher emissions.

Ultimately, both Washington and Brussels are aiming to go "climate neutral" by mid-century -- adding only as many emissions as can be absorbed through natural or technological means -- and want other major polluters such as China and India to do the same.

Scientists say this goal needs to be achieved to keep average global temperatures from rising above 2 degrees Celsius (3.6 F) by the year 2100. The Paris accord's more ambitious target of capping global warming at 1.5 C (2.7 F) by the end of the century compared with pre-industrial times would likely require even more drastic worldwide cuts in emissions.

Participating nations are set to meet at the annual UN climate conference, which is being held in November in Glasgow, Scotland, to push for more ambitious targets.

------

Frank Jordans contributed from Berlin.