NEW YORK (AP) -- A New York State Supreme Court judge says J.C. Penney (JCPN.Q) 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 (M -2.68%) 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 (MSO.DL) 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.