LOS ANGELES (AP) — A California appeals court says a dispute between Jennifer Lopez and her first husband over the release of intimate home videos should be handled through arbitration, not the public court system.

A ruling Friday by the 2nd District Court of Appeal states that a Los Angeles judge erred by not granting Lopez's request to move the case to arbitration.

The ruling states Lopez has a valid agreement with ex-husband Ojani Noa and his agents preventing him from releasing "any private or intimate details" about the couple's relationship.

Lopez and Noa wed in 1997. Their marriage lasted just 11 months.

They have been fighting in court for nearly two years over Noa's plans to use portions of more than 11 hours of home videos of him and Lopez for a movie.

Copyright 2011 The Associated Press.