Note: This article discusses sexual assault allegations.

Nearly four years after Kesha went public with allegations of sexual assault and physical abuse by Dr. Luke, the duo’s legal quagmire has ensnared enough pop stars to comprise a judges panel on a TV singing competition. Along with Adam Levine, Kelly Clarkson, and Pink, now Lady Gaga and Katy Perry have been publicly drawn into the courtroom saga. According to documents newly unsealed this week, Perry testified last year that Dr. Luke had never raped her—a rumor that spread, according to the producer, after Kesha texted Lady Gaga saying as much.

These unsealed pieces of evidence—dozens of them—are part of a larger attempt by Dr. Luke’s attorneys to widen his retaliatory defamation lawsuit against Kesha. Ramping up his offensive efforts as of late, Dr. Luke now contends that Kesha’s original 2014 complaint against him was a “sham” designed in tandem with a PR campaign to ruin his career. His evidence includes emails in which Kesha’s managers discuss a “jihad” against him that would “take down his business”—screenshots of which were included in a sternly worded statement sent out by Dr. Luke’s PR on August 27.

Kesha’s legal team has not stayed silent in the face of these new allegations, following up on Dr. Luke’s statement with one of its own. It claims that Kesha filed her 2014 lawsuit “as a last resort” and only hired a PR firm because her lawyers “knew that Dr. Luke’s public-relations strategy would be ruthless, and Kesha would have to respond.” What’s more, Dr. Luke’s litigation strategy is characterized as “straight out of the blame-the-victim playbook.” In short, the statement reads, “Kesha looks forward to defeating Dr. Luke’s meritless $40-plus million damage claims at summary judgment or trial.”

What these new documents drive home is the difference between Kesha’s ongoing triumph in the court of public opinion and her losing streak in actual courts of law, where matters of assault are difficult to prove. Last August, she finally released her first album in five years, Rainbow, and although it arrived via Dr. Luke’s Kemosabe Records imprint with Sony, songs like “Praying” were instant anthems for an American public wracked with ongoing revelations of sexual violence against women. But legal experts say that who will prevail in court remains far from certain. “The case is going poorly for Kesha, and I predict it will get worse for her,” says music lawyer Bill Hochberg.

However these suits play out, they’re a sign of Dr. Luke’s commitment to clearing his name. “It seems like Dr. Luke will settle for nothing less than full vindication,” says criminal defense attorney Troy Slaten. Still, Slaten notes that as a public figure, Dr. Luke must prove that Kesha’s statements were not just false but actually malicious. Plus, Luke asked for a trial by jury—an unpredictable environment, particularly when both sides are wealthy celebrities. Settling the case is always an option, though as entertainment lawyer Ben McLane says, “The fact that they haven’t settled by now makes me wonder if they ever will.”

Once it was Kesha who had Dr. Luke on the defensive, both in the courtroom and as part of the broader #MeToo movement. But one by one, Kesha’s legal claims against the producer have been dismissed or dropped. She originally sued Dr. Luke for sexual assault in California in 2014, but after he sued her for defamation in New York, she made (and lost) a host of more technical claims, culminating in an appeals court ruling against her on contractual issues earlier this year. Unless Kesha makes another appeal, that leaves Dr. Luke’s $50 million defamation lawsuit as the only one currently before the courts.