It was passed by MEPs with a margin of 36.
The Nature Restoration Law has been approved by the European Parliament during a vote in Strasbourg.
MEPs were asked if they wanted to reject it - that motion was defeated by 12 votes.
The proposals have caused bitter rows among reps - with some accusing others of "fake news" and fear-mongering over it.
A poll in favour of the law passed by a margin of 36 votes.
The proposal aims to restore Europe's natural habitats - about 80 percent of which are judged to be in poor health.
Ireland South MEP Sean Kelly is in favour of having the law in place:
A Green Party MEP says today's votes on the Nature Restoration Law were unlike anything she has ever seen.
Grace O'Sullivan has described the adoption of the legislation by the Parliament as a "sigh of relief."
It's not finished yet - it'll go into further negotiations with the European Council and the Commission in the coming weeks.
But Ireland South MEP Grace O'Sullivan says the really critical vote today was very close:
Some Irish MEPs could face consequences for how they voted on the Nature Restoration Law today.
The proposals were adopted by parliament earlier, in a ballot that passed by a tiny margin.
That's despite opposition from the EPP Group, which has five Irish members from Fine Gael.
MEP Grace O'Sullivan says all five defied the group position to keep the proposals alive:
Prison Dispute Linked To Fatal Arson Attack In Offaly
BnM Opens New Funding Round For Offaly Community Benefit Fund
Orange Wind Alerts Issued As Storm Bram Approaches
Irish Hauliers Threaten Protests Over Toll Discount Dispute
Former Irish Soccer Legend Backs Offaly Community After Arson Attack
Tributes Paid To Former Fine Gael Midlands Politician
Midlands 103 Launches Joint Christmas Appeal With Simon Community
Offaly Arson Attack Is An Attack On Society Itself - Taoiseach
Woman Facing Life In Prison After Double Midlands Murder
Housing Committee Chair Flags Cost Concerns Over Apartment Fire Safety Scheme
Justice Minister Wants People To Come Forward Over Offaly Arson Attack
New Report Warns Of “Poor Liquidity” As Ireland’s Housing Market Stalls
Laois TD Renews Calls For Updated Wind Farm Guidelines
Midlands Man Laid To Rest Today
Anti-Racism Funding Granted For Offaly And Westmeath Groups
Gardaí Begin Murder Investigation After Child And Woman Dies In Offaly House Fire
Ashling Murphy Murder "Wrongly Accused" Granted Bail Over Theft Charge
Young Boy And Woman Killed In Offaly House Fire
Laois Makeup Artist Warns Of Expired Suncream Dangers
Lynx and Wolves In Ireland Pose Minimal Threat - Offaly Biodiversity