WASHINGTON (AP) — The Supreme Court is giving whiskey maker Jack Daniel’s a reason to raise a glass.

The justices on Thursday handed the company a new chance to win a trademark dispute with the makers of a dog toy that mimics the whiskey’s signature bottle.

The justices unanimously said a lower court’s reasoning was flawed when it ruled for the makers of the Bad Spaniels toy.

The court did not decide whether the toy’s maker had violated trademark law with their toy, which squeaks and resembles the whiskey’s signature bottle.

Instead, the justices said a lower court needed to redo its analysis in the case and sent it back for further review.