A European Union parliament committee on Tuesday rejected a landmark legal proposal to protect endangered natural habitats, ahead of a decisive vote by the full EU assembly next month.

The bill to revive ailing environments – which aims to restore nature on 20% of EU land and sea – is facing a backlash from the parliament’s largest faction, the conservative European People’s Party, which has called for its rejection.

The EPP’s opposition to the proposal drafted by the European Commission has centred on concerns that the law would damage the livelihoods of farmers and endanger food security – assertions that thousands of scientists have rejected.

In a tight committee vote, 44 lawmakers backed the law and 44 opposed it, meaning it failed to win majority support. The bill faces a full parliamentary vote on July 11, where failure to garner a majority would kill off the proposal.

“We are already on the edge of doing too much. The Green Deal is a good thing, but we are about to overstretch it,” EPP lawmaker Peter Liese said, referring to the EU’s overall package of policies to tackle climate change.

Other lawmakers defended the bill, which Brussels says is crucial to reversing the decline of Europe’s natural habitats, 81% of which are classed as being in poor health.

“We’re ensuring food security and the undeniable improvement of nature for the benefit of farmers, livestock raisers and fishermen,” said Cesar Luena, parliament’s lead negotiator on the law.

The law has also faced criticism from governments including Ireland and Belgium, with the latter warning that the EU is saddling industries with too much regulation.

Despite that, EU countries agreed a position on the nature bill last week – weakening some targets and seeking more EU money to support farmers in restoring nature, but supporting the measure’s overall objectives.