Bill Cosby Rape Trial — Judge Swats Down Comic’s Bid For Dismissal

Challenges the disgraced star's claims of 'exceptional circumstances!'

Bill Cosby Rape Trial Appeal

Bill Cosby is still heading to a criminal trial over rape charges — as a Pennsylvania judge took further steps to squash the pervy comic’s attempt to get the charges dismissed.

As reported earlier by The National ENQUIRER, Montgomery County Judge Steven O’Neill had ruled that there was no “immunity deal” shielding the shamed comedian from going on trial in connection with a 2004 sex assault.

Cosby, 78, is accused of drugging and assaulting former Temple University employee Andrea Constand at his suburban Philadelphia home in 2004.

PHOTOS: Cosby Victim Andrea Constand Reveals Her Private Hell To The ENQUIRER

Cosby’s legal team had argued that the comedian made an agreement with former Montgomery County District Attorney Bruce Cabot in 2005 that meant the comic was immune from prosecution forever.

“I hereby find no basis no grant the relief requested,” O’Neill told the packed courtroom.

The judge followed up with a memo filed yesterday with the Pennsylvania Superior Court — in which he urges a state court to reject an appeal being made by Cosby’s attorneys.

PHOTOS: Loyal Camille Sticking With Bill’s ‘Cosby Marriage Commandments!’

The lawyers for Cosby are still seeking to get the case dismissed after alleged promises from a former district attorney that the comic would never be prosecuted for alleged sexual assault.

Cosby has contended that in 2005, DA Bruce Castor believed the Constand case was too weak to win, and promised there would never be any prosecution.

Current DA Kevin Steele — who campaigned against Castor while promising to prosecute Cosby — countered that the former DA had no legal authority to make that kind of guarantee.

PHOTOS: ‘Saved By The Bell’ Star Accuses Bill Cosby, Martin Lawrence And John Travolta Of Abuse!

Judge O’Neill’s memo said that any attempts by Cosby’s lawyers to “obtain review” of his Feb. 3 orders “should not be entertained, and these appeals should be quashed.”

Cosby currently still faces a March 8 preliminary hearing on the charges of sexual assault.

Meanwhile, his wife Camille was recently caught by The ENQUIRER as she invoked “spousal privilege” while refusing to answer questions in a court deposition — in a court case where seven women who claim to have been drugged and raped by Cosby are suing the star for defamation!