Britney Spears MVKAPLAN112607_05_X17.jpgArchive photo

Kevin Federline's attorney, Mark Vincent Kaplan, just addressed the media outside of the courthouse on the new custody agreement between Britney and Kevin.

In what he dubbed one of the "most anti-climatic moments of your [the journalists'] professional life", Kaplan confirmed that "there's an agreement," the terms of which he wouldn't disclose because at the moment it's a "private agreement" which must "be converted into a legal document with the court," before it can be a final order.

But Kaplan confirmed that "a trial has been averted."

"This has been a long ordeal, and to have that over is extremely rewarding," Kaplan told the press.

"Any settlement requires some movement. The beauty of resolving things by agreement is you take all the chance out of the defined result," Kaplan explained, and can "avoid the economic and emotional cost that comes with any custody case."

We sincerely hope all parties concerned are happy with the outcome!