BOSTON -- A defamation lawsuit brought against Bill Cosby by three women who say he sexually abused them decades ago can move forward, a federal judge in Massachusetts ruled Friday, delivering a legal blow to the comedian as he attempts to defend himself against accusations of sexual assault by dozens of women.

The women claim in their lawsuit that Cosby's representatives damaged their reputations by denying their allegations in sometimes disparaging language. Cosby's lawyers had asked the judge to dismiss their suit, arguing that the remarks were personal opinions protected by the First Amendment and legal declarations made in his defence.

But in his ruling Friday, U.S. District Court Judge Mark Mastroianni rejected Cosby's bid to dismiss the case before it ever goes to a jury.

The women -- Tamara Green, Therese Serignese and Linda Traitz -- have accused Cosby of drugging them and then having unwanted sexual contact with them.

The comments they claim were defamatory range from statements dismissing their accusations as "ridiculous claims" and "absurd fabrication" to longer remarks that sought to discredit the accusers.

"As the old saying goes, 'consider the source," ended one statement that touched on Traitz's criminal and prison record.

In his ruling, Mastroianni rejects Cosby's argument that the statements were legal declarations made in self-defence.

"The court recognizes that some jurisdictions do apply a version of the conditional self-defence privilege, which allows individuals, in certain circumstances, to publish defamatory responsive statements necessary to defend their reputation. However ... such a privilege does not permit a defendant to knowingly publish false statements of fact," the judge wrote in his 38-page ruling.

Telephone messages left for four attorneys who represent Cosby in the Massachusetts lawsuit were not immediately returned. Cosby has a house in Shelburne Falls, in western Massachusetts.

"As we'd expected and hoped, the judge rejected every one of Mr. Cosby's attempts to throw the case out of court and allowed the case to proceed," said Joseph Cammarata, an attorney who represents the three women.

"We will take Mr. Cosby's deposition at the earliest possible moment. My clients look forward to moving the case forward and to restoring their good names and reputations."

"Dateline NBC" is airing a special Friday night in which 29 Cosby accusers will be interviewed together about their allegations. Cosby has never been charged with a crime and he has denied the allegations.

Cosby was deposed Friday in a Los Angeles case against him. Lawyer Gloria Allred, the defendant's lawyer in that case, said she would speak on the deposition Saturday in Boston. A third lawsuit in also pending in Los Angeles.

Court documents unsealed in July show Cosby admitting in 2005 to carrying on extramarital relationships with several women, including some who accuse him of sexual assault. The testimony added to the unsavoury details that have all but wrecked his nice-guy reputation as TV's Dr. Cliff Huxtable and made a mockery of his preaching about decency and personal responsibility.