Britney Spears and Kevin Federline’s custody battle was back in court again Monday afternoon.

Federline’s attorney Mark Vincent Kaplan, and Spears' attorney Sorrell Trope, met behind closed doors in an L.A. court to “refine certain areas” of the judge’s order last week that requires Spears to submit to random, twice-weekly drug and alcohol testing and to undergo parenting classes, the Associated Press reports.

Trope confirms to Usmagazine.com that judge Scott Gordon has signed the order putting the new custody-related restrictions in place. Trope did not say when the testing would go into effect.

Today’s hearing comes on the heels of Friday’s filing of misdemeanor hit-and-run charges against Spears by the L.A. city attorney.

Kaplan told the AP that he does not expect the filing of the misdemeanor charges last week to impact the scheduled November 26 hearing on Federline's request to increase his custody time with the former couple's two young sons. They currently split fifty-fifty custody of sons Sean Preston, 2, and Jayden James, 1.