by Stephanie Stanton
As her personal and legal woes continue to mount, the news wasn't all bad for Britney Spears after a court hearing.
The pop star will get limited visitation rights to see her children.
But Kevin Federline will retain physical custody of their two young boys for now.
Britney Spears' sons were seen here in the company of a nanny outside their father's suburban Los Angeles home and that's where they'll stay for now.
After the hearing, Kevin Federline's attorney, Mark Kaplan, said "Kevin and his council felt that the orders were justified, and he was pleased with the orders that are in place."
An L.A. Court Commissioner continued the order, granting Federline full physical custody of the boys, with Britney Spears getting supervised visits until the next court date later this month.
Legal analyst Royal Oakes says "she will get some visitation rights, but they are going to be supervised, monitored, she won't be able to see the kids alone. This is a result of the judge clearly feeling she is just not playing by the rules."
While neither parent was required to appear in court, in an unexpected move, Federline was present in court with his attorneys. Britney was not there, instead TMZ.com caught her driving around LA with her dog.