A judge has ruled that The Walt Disney Co. cannot recoup about $524,000 of what it spent fighting a 13-year lawsuit over royalties on Winnie the Pooh movies.

Los Angeles County Superior Court Judge Carolyn B. Kuhl on Monday refused to allow Disney to recoup some of the costs of depositions, mediation and accounting referee fees. The judge said she will rule later on several other costs.