NEW YORK (AP) -- A New York State Supreme Court judge says J.C. Penney (NYSE:JCP) can sell some goods designed by Martha Stewart that were destined for shelves this spring.

The ruling lets the department store operator sell the items until a lawsuit by rival Macy's (NYSE:M) is fully decided.

Macy's had argued in a lawsuit that the goods, which were labeled JCP Everyday, violate its exclusive contract with Martha Stewart Living Omnimedia (NYSE:MSO) to sell certain goods like sheets and towels. The J.C. Penney items don't carry Martha Stewart's name.

Judge Jeffrey Oing says Macy's didn't prove that selling the goods for now would present irreparable harm.

The ruling offers some short-term relief to Penney, in a cash crunch following a failed turnaround plan by recently ousted CEO Ron Johnson.

The Motley Fool has no position in any of the stocks mentioned. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.