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:
Man Accused Of 5 Star Hotel Laois Murder Pleads Not Guilty
Time To Move On From Bord Bia Bickering - Midlands MEP
Three Midlands Schools In Line For New Special Classes
Two Men Hospitalised Following Midlands Assault
Midlands Wind Farm Opponents Face ‘Uphill Battle’
Laois Councillor Wants Clarity On NDP
"If You Build On A Floodplain, I Won't Protect You" - OPW Minister
Gardaí Investigate Laois Burglary
"The Right Action In The Wrong Location" - Action Group Campaigning Against Midlands Windfarm
Deadline For Observations on Westmeath Community Centre Tomorrow
Laois County Council Launch Youth Theatre Pilot Proposals
OPW Minister To Visit Waterford In March After Flooding
Epilepsy Day Highlighting Condition Prevalence In The Midlands
State Pathologist Reviews Ancient Human Remains Found In Westmeath
Revenue Seizes Over €105k In Midlands, Kilkenny, Dublin And Rosslare
Family of Offaly Father Seek Publication Of Report Into Death
Midlands Stars Survive Fright Night Under The Glitter Ball
Westmeath Library Reopening
Gardaí Make €1.7m Midlands Drug Seizure
Over €150k Raised For Offaly Teen's Recovery