AUSTIN (AP) — The Texas Supreme Court has overturned Laredo’s ban on disposable plastic bags in a ruling that likely dismantles similar bans in other cities across the state.

The court ruled Friday that Laredo’s city ordinance violated state law that regulates solid waste disposal. The court said the Texas Constitution prevents local ordinances from conflicting with state law.

READ MORE: Day 2 Of The State Fair Of Texas Brings Visitors Fun, Football & Fried Food

About a dozen Texas cities have similar bag bans that environmentalists say reduce pollution. Retail groups sued to overturn the Laredo ban and the move was supported by Texas Attorney General Ken Paxton.

READ MORE: No Injuries Reported After Propane Tank Explosion At Texas Motor Speedway

Paxton warned cities with current disposable plastic bag bans that they’ll face legal action if they continue to enforce such ordinances.

MORE NEWS: Officials: 2 Missing Texas Kids Found Alive After Being Kidnapped By Registered Sex Offender

Environmental groups encouraged retailers in cities that banned plastic bags to continue the practice of not providing them to customers.