LOS ANGELES (AP) – Britney Spears had to temporarily surrender custody of her sons to Kevin Federline because she defied a court order, according to court documents released Thursday.

The documents in the divorced couple’s ongoing custody battle show Superior Court Commissioner Scott M. Gordon ordered them both not to drive their children unless they’re properly insured and have a valid driver’s license.

“At all times, the minor children shall be transported in a properly insured and registered vehicle, which shall be driven only by a properly insured driver who has a current and valid driver’s license,” Gordon wrote.

The pop star disobeyed the order when she was photographed driving Sean Preston, 2, and Jayden James, 1, a few days after the Sept. 28 order.

She was ordered Oct. 2 to relinquish her children “until further order of the court” when she wasn’t able to prove compliance with Gordon’s order, namely proof of a valid California driver’s license.

The two previously had joint custody of their sons, and Federline was seeking a greater share of custody. After he got temporary custody, Spears went to a motor vehicles department office and got a temporary driver’s license.

AP-ES-11-01-07 2250EDT

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.