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:
Midlands Ireland Conference Celebrates Regional Transformation
Westmeath Man Calls for Support In Fundraiser After MND Diagnosis
House Prices On The Rise In The Midlands
Drug Convictions Soar In Midlands
Dog Has New Best Friend After Offaly Rescue
TII Pressured To Provide Update On Major Midlands Road Project
Edenderry Festival Lineup Revealed
Midlands-Based Student Takes Bronze At Culinary Contest
New Legislation Just The First Step -Midlands Cancer Support Centre
Irish Credit Unions Hit Record Lending Levels
ADHD Ireland Issues Social Media Warning
Laois Footballer Tackles First Dates Ireland
New Jobs Announced For Midlands
Cancer Survivors Welcome ‘Right to Be Forgotten’ Mortgage Reform
Irish Cancer Society Calls For Support This Daffodil Day
Interactive Offaly Event Highlights Barriers Faced By Abuse Survivors
Lawyers Seek To Overturn Murder Conviction Over Midlands Shooting
Burglary Gang Breaks Into Midlands Shopping Centre
Laois TD Wants New Fire Station Fastracked
Midlands Housing Commencements Continue To Rise