A judge in Atlantic City has ordered the Golden Nugget casino to let gamblers cash in nearly $1 million worth of chips they won at a card game using decks that were unshuffled.

Judge James Isman also told the casino Friday it cannot seize more than a half-million dollars’ worth of winnings it already paid out to some of the gamblers.

The casino plans to appeal the order next Tuesday.

The Golden Nugget is seeking to have the April 30 games of mini-baccarat declared illegal, claiming it was provided defective cards by a manufacturer who had promised to pre-shuffle them.

A lawyer for some of the gamblers says they did nothing wrong and deserve to be paid.

Lawsuits filed by both sides are still pending.

(Copyright 2012 by The Associated Press. All Rights Reserved.)