Bill Cosby is the victim of discrimination and racial hatred ... according to Bill Cosby.
Cosby's lawyers just released a statement calling out those who "accuse him of crimes for unwitnessed events" ... and Cosby particularly directs his frustration at Gloria Allred.
The 79-year-old's adamant Allred's trampling on his civil rights, saying, "her campaign against Mr. Cosby builds on racial bias and prejudice that can pollute the court of public opinion. And when the media repeats her accusations -- with no evidence, no trial and no jury -- we are moved backwards as a country."
Cosby was in court Tuesday as his team tried moving the sexual assault case out of Montgomery County ... arguing Cosby won't get a fair trial there. His trial's set to begin June 5th, 2017.