(CNN) Harvey Weinstein's defense team filed a motion Monday to have the five remaining sex crimes charges against him in New York's Supreme Court dismissed, saying in court documents that the entire case was based on a "defective Grand Jury proceeding" that was "irreparably tainted by police misconduct."

Weinstein's defense attorney Ben Brafman outlined a series of missteps he says the New York Police Department and the Manhattan District Attorney's office made in their attempts to convict the disgraced media mogul.

He also revealed a February 2007 text message from Mimi Haleyi, one of three original complainants in the superseding indictment. The text message was, according to the court documents submitted by Brafman, received by Weinstein seven months after he allegedly forced oral sex on her.

"Hi! Just wondering if u have any news on whether harvey will have time to see me before he leaves? x Miriam," says the text, which the defense documents say "make clear" that Haleyi wanted to continue seeing Weinstein after the alleged July 2006 assault.

"The defense's speculation is not a substitute for evidence," Haleyi's lawyer, famed women's rights attorney Gloria Allred said in a statement.

Read More