NEW YORK (AP) — A judge has ruled in favor of New York City in its battle with the restaurant industry over plastic foam containers.

The ruling Friday in state court in Manhattan means the city can go forward with its ban on polystyrene containers.

Judge Margaret Chan denied an appeal by a restaurant lobbying group and manufacturers. They argued it was feasible to recycle the containers.

A spokesman for the city law department said the ruling clears the path toward implementing a ban on foam products.

Randy Mastro, attorney for the Restaurant Action Alliance of New York City and a coalition of industry leaders, says they're "deeply disappointed by this decision" and reviewing their legal options.

New York City has been trying to ban plastic foam containers since 2013.