Chris Brown Scolded by Judge for Positive Drug Test (video) 1

Chris Brown in court with his lawyer Mark Gergagos.

Chris Brown got a stern lecture from a California Judge for testing positive for marijuana– a potential violation of his probation– but that’s as far as it went at the latest hearing stemming from his 2009 assault of singer Rihanna.

The Barbadian singer was in his corner all the way. She tweeted encouragement to Brown before he made his court appearance.

Earlier in the day on Monday, she wrote: “Praying for you baby, my best wishes are with you today! Remember that whatever God does in our lives, it is WELL DONE!!! #1Love.” She added another tweet later: “@chrisbrown I’m praying for you and wishing u the best today!”

But Brown didn’t seem all that enthused or effusive. “thank u so much,” was all he tweeted back.

Judge Patricia Schnegg warned Brown that he had a special duty to adhere to the requirements of his five-year probation because he is a public figure. Under the terms of his sentence for felony assault, he’s not allowed to violate any laws.

The court was informed that Brown tested positive for marijuana use in June while he was in Virginia, where the drug is illegal. Drug testing is mandatory as part of any probation in Virginia.

At his last hearing in Feb. 2011, he was allowed to perform some work in his home state of Virginia, according to the Los Angeles Times. But that put him under the jurisdiction of Virginia probation requirements.

Schnegg did not press the issue because drug testing is not part of his probation in California. His lawyer, Mark Gergagos also asserted that Brown had used the drug in California where he has a medical marijuana permit.

“I’m going to caution you that you should be very mindful of obeying all laws, orders and rules of the court,” she said.

“More importantly, a lot of people look up to you, a lot of kids. And, your conduct is important. I’m going to remind you that what you do and what you say impacts other people. So you should also be conscious of that and basically conduct yourself accordingly.”

The hearing ended without further action because of a dispute over the number of community service hours Brown has performed as part of his sentence. He was assigned a total of 180 hours.

The court will resume the hearing next week after it receives an audit of Brown’s community service work. So far, the singer has completed anger-management classes and a 52-week domestic-violence education program.