Bill Cosby's last ditch effort to avoid jail time was just used as the disgraced comedian's doctor claims he can't possibly be a threat to anymore victims because he hasn't been able to have sex in years!

Cosby's psychologist, Dr. Timothy Foley, was just on the stand to describe how allegedly feeble Cosby has become in his later years. Foley said, "He’s 81 years old, he’s been convicted of a sex offense, and after 70 it becomes virtually impossible to reoffend."

He then declared, "He’s had no sexual conduct in approximately 15 years." The thought process from Cosby and his defense team is that if he can't have sex anymore, then he can't possibly be a threat to anymore women and therefore should not be sentenced to hard time in prison.

However, Judge O'Neill addressed the court and strongly disagreed with the doctor's evaluation, and officially declared Cosby is a "sexually violent predator."

Cosby is still in court and sentencing is expected at any moment, stay tuned.