Sorrell Trope, Britney’s attorney, told People magazine Britney has lost custody of her children as she was unable to show proof of having a valid driver's license for California.

She also had doubts over whether Britney had taken a drugs test could also have affected the judge's decision to hand over custody of Spears' two children to KFed. 

Trope said:

"We weren't able to prove compliance with what the judge ordered. Specifically the judge ordered that…both parties show valid California driving licenses. I've been unable to produce evidence of that," the lawyer said. 

But it looks like the judge order did make some changes for Britney, as she finally managed to get the valid California driving license. It took her only about five years to do that, but she did it. Congrats Brit!