The key piece of legislation on nature restoration and biodiversity had stumbled over the issue of agriculture.