NEWARK, N.J. (CBSNewYork) — A new federal court ruling means some Newark residents will not be eligible for free bottled water as the city deals with a lead contamination emergency.

In a decision issued Friday night, the judge ruled against a petition filed by two groups requesting bottled water for residents who get their water from the Wanaque Treatment Facility.

NEWARK WATER EMERGENCY: New Plan Revealed To Fast-Track Process Of Replacing Lead Pipes

In her ruling, the judge said the water from Wanaque is safe to drink.

Residents served by the Pequannock system are currently getting free bottled water as the city replaces old lead service lines.