New York Supreme Court Justice Shirley Kornreich has just given Dr. Luke (Lukasz Gottwald) a huge legal victory by dismissing all but one of Kesha Rose Sebert’s counterclaims against the producer.

Following up on her decision to deny an injunction, the judge examines Kesha’s allegations accusing Dr. Luke of drugging and raping her a decade ago and committing ongoing abuse and determines that some of her claims fail because of lack of jurisdiction and other claims just don’t make the elements.

The Hollywood Reporter: Lena Dunham and Jenni Konner Say “Every City Has Their Own Version of ‘Girls'”

On Kesha’s assertion that Dr. Luke has violated New York statutes commonly referred to as “hate crime” laws, Kornreich says the facts as pled don’t add up to the allegation that Dr. Luke harbored animus towards women.

“Every rape is not a gender-motivated hate crime,” she writes.

The Hollywood Reporter: Spike Lee Likens Donald Trump to Son of Sam: He “Had the Whole City in Terror”

Kornreich also rules that such a claim can’t be predicated on abusive remarks and threats made over a ten-year period — that there needs to be physical violence or property damage. The only allegation that fits is Dr. Luke’s alleged assault of Kesha on an airplane and rape in a hotel before 2008. “The claim is time-barred,” states the judge’s opinion.

The Hollywood Reporter: Lena Dunham, Lin-Manuel Miranda and New York’s 5 Top Cultural Influencers

Maybe most disastrous for Kesha, the judge is dismissing the claims without an opportunity to amend her complaint. She recently added a star attorney to her team and has filed an appeal over the judge’s decision to deny an injunction on the basis that after expending $20 million building Kesha’s career, it was commercially unreasonable to rip up a contract. Unfortunately for her, there’s pretty much no good news for the pop superstar from the decision today. The only counterclaim that survives is whether Kesha’s performance agreement with Dr. Luke’s company terminated as a result of the decision to sue her for breach of contract.

This article originally appeared on The Hollywood Reporter

Contact us at editors@time.com.

SPONSORED FINANCIAL CONTENT

Read More From TIME

EDIT POST