Britney Spears by Kevin Mazur/WireImage.com Britney Spears by Kevin Mazur/WireImage.com

According to court papers obtained by the AP, Britney Spears has been ordered to undergo random drug and alcohol testing twice a week, as the singer negotiates custody with ex-husband Kevin Federline. "Based on the evidence presented, the court finds that there is habitual, frequent and continuous use of controlled substances and alcohol [by Spears]," the judge says in the documents. Spears must also meet for eight hours a week with a "parenting coach," who will observe and report back to the court on her mad mothering skillz.

Federline, like Spears, is required to neither drink nor use drugs around their two children, but only Britney must submit to testing.