Superior Court Judge Larry Fidler refused to dismiss charges against one of the defendants in the so-called bling ring case, but said the defense owed a debt of gratitude to LAPD officer Brett Goodkin.
"You should all write a thank you letter to Goodkin," Fidler told the lawyers for the trio, who are accused of breaking into the homes of celebrities in the Hollywood Hills and stealing cash, jewelry and clothing totaling some $3 million.
"You can can have a field day against his credibility," the judge said, adding Goodkin's actions "harmed the people's case."
Goodkin was one of the investigators on the case when he took a side job with Sofia Coppola, who was making a docudrama on the case called "The Bling Ring."
The defense seized upon Goodkin's role in the film and sought dismissal of the charges on the grounds of outrageous police conduct, the Los Angeles Times said.
Beyonce flaunts bikini body, Blue Ivy in vacation pics
Benedict Cumberbatch's dramatic reading of R. Kelly lyrics is just what you need