A judge has given Harvey Weinstein the green light to shake up his defense team yet again.

The ruling comes just two months before he's set to stand trial on sexual assault charges.

Attorney Jose Baez, who has represented high-profile clients like Casey Anthony, is leaving the case, after saying Weinstein tarnished their relationship by communicating only through other lawyers and by failing to abide by a fee agreement.

One of his previous attorneys already left amid backlash.

Two new lawyers will now represent the disgraced movie mogul's defense team, who promised the court Thursday they wouldn't try and delay the trial from its scheduled September 9 start.

"I think just as if he were casting a movie, this is the circumstance where he needed the right lawyers, and I think this type of a case requires the right lawyers," said Weinstein lawyer Donna Rotunno. "I think a woman standing here could make a difference. I think I may view things a little bit differently, and I believe that he now is comfortable."

Weinstein is charged with raping a woman in 2013 and performing a forcible sex act on a different woman in 2006. 

He denies the allegations and has pleaded not guilty.