After eight years of litigation and two nine-figure jury awards, the celebrated trade secret litigation between Mattel Inc. and MGA Entertainment over Bratz dolls may be back to square one.

That’s because the U.S. Court of Appeals for the Ninth Circuit sounded poised late Monday to rule that MGA failed to properly plead around the statute of limitations, putting its $310 million judgment on retrial in jeopardy.