By Jen Heger
Radar Legal Editor
It was definitely not a winning day in court for actor Charlie Sheen on Tuesday.
The embattled former Two and a Half Men star lost his fight against his estranged wife Brooke Mueller for full custody of their two-year-old twin sons, Max and Bob.
According to a source, a judge in Los Angeles presiding over a closed door hearing just allowed Mueller to maintain primary legal and physical custody despite a well-publicized relapse in her crack cocaine addiction.
Despite appearing "unsteady on her feet" and "glassy-eyed" Mueller was all smiles as she left the Stanley Mosk Courthouse.
"No comment," she told RadarOnline when asked if she was pleased with the decision.
A source says that while Mueller undergoes drug treatment at an undisclosed rehab facility, her mother, Palm Beach, Fla, socialite Moira Fiore, will provide primary care for the boys.
Sheen wasted no time getting back to his work commitments. The 45-year-old hightailed it out of court and straight onto a plane to Chicago where he is scheduled to continue with his Violent Torpedo of Truth tour.