Lawyers for ​accused​ ​Nxivm ​sex cult leader Keith Raniere claim prosecutors “cherry-picked” texts between their client and an unnamed woman in order to keep him behind bars.

“These communications are not evidence of sex trafficking or any other crime,” ​Raniere’s attorney Marc Agnifilo ​claimed in the filing ​as he again implored the court to release ​his client on bail. “The Government cherry-picked communications between Raniere and someone very close to him.”

The filing says the texts​ ​—​ ​in which Raniere told the woman, “I think it would be good for you to own a f—toy slave for me, that you could groom, and use as a tool, to pleasure me…”​ —​ ​were taken “out of context.”

Lawyers for the Nxivm head want their client ​—​ who was nabbed after a car chase from​ ​his sprawling estate in Mexico​​ — ​out on $10 million bond​. His accused accomplice, onetime “Smallville” star Allison Mack, has been released on $5 million bond.

The duo ​were hit with forced labor and sex trafficking ​charges ​for allegedly branding, starving and brainwashing a gaggle of women to act as his personal sex slaves.

The court docs also argue that Raniere has no “deep ties” to Mexico, and was never “hiding on a luxury beach resort that was essentially a fortress,” as prosecutors allege.

Raniere is currently languishing at the Metropolitan Detention Center in Brooklyn.