11:09 AM PT -- A new photo shows Griner holding up a photo of the WNBA All-Stars wearing Brittney's #42 jersey at last weekend's All-Star Game.
Brittney Griner, wearing a Nirvana T-shirt, was back in court Friday, where the WNBA star's attorney told the judge BG, who's being tried on a drug charge, was prescribed cannabis for medical use ... the same substance she was caught carrying.
Griner's lawyer, Maria Blagovolina, told the court on Friday, "The attending physician gave Brittney recommendations for the use of medical cannabis."
"The permission was issued on behalf of the Arizona Department of Health," she added.
Blagovolina also submitted tests to the court ... showing 31-year-old Griner underwent testing to ensure she complied with anti-doping regulations, and the results revealed the hooper didn't have any prohibited substances in her system.
For now, Brittney's detention has been authorized to go through Dec. 20, according to the Associated Press, and although she plead guilty at last week's court hearing, Russia's justice system differs from the United States ... meaning the trial is to go through the beginning of August.