The pop star's attorney, Anne Kiley, called an emergency hearing early on Thursday morning to readdress her client's custody arrangement after she lost physical custody of Sean Preston, 2, and Jayden James, 1, a week ago.
Gordon sent the lawyers away, urging them to "work it out."
Spears then arrived at the courthouse in a white convertible Mercedes-Benz early on Thursday afternoon--to face Commissioner Gordon herself in a closed-court meeting.
According to court spokesperson Allan Parachini, her presence prompted the judge to modify his custody decision from last week.
Parachini claims Spears was respectful when she spoke to the judge, who appeared to empathize with the young mom, stating, "This is a relationship of very young parents and little-guy kids."
Spears has now been granted a monitored overnight visit once a week with her children.
He revealed the lawyers agreed on a new arrangement to give Spears more time with her sons in between the two court appearances on Thursday.
Kiley then explained Spears' once-estranged mother, Lynne, could be interested in acting as a monitor for the overnight visits.
Dressed in blue jeans, a long, dark blue sweater and wearing aviator sunglasses, Spears revealed she had an eye infection and asked if she could keep her glasses on throughout the hearing.
Her lawyer told the commissioner that Spears had stayed away from the morning hearing in a bid to avoid the media crush that surrounded the courthouse.
The attorney growled, "Nobody should have even known about this hearing today."
After the short meeting with the commissioner, Spears left the courthouse visibly distressed, and went shopping in nearby Beverly Hills.
COPYRIGHT 2007 WORLD ENTERTAINMENT NEWS NETWORK LTD. All Global Rights Reserved.