(CNN) Ashley Judd's multi-pronged legal battle against Harvey Weinstein came to a bit of a crossroads on Wednesday.

US District Judge Philip S. Gutierrez dismissed Judd's sexual harassment case against the movie mogul, stating in the ruling obtained by CNN that Judd's legal team had "not adequately alleged that her relationship with Defendant was covered by the statute."

But Gutierrez ruled that Judd could move forward with her defamation case against Weinstein, in which she claims he derailed her career after she denied his alleged sexual advances in the 1990s.

Gutierrez's ruling said Judd's claims for defamation, intentional interference with prospective economic advantage and violation of California's unfair competition law could proceed. But he said she did not make the case for sexual harassment under the civil code that was in effect when her suit was filed, noting, "The Court makes clear that it is not determining whether Plaintiff was sexually harassed in the colloquial sense of the term. The only question presented by the current motion is whether the harassment that Plaintiff allegedly suffered falls within the scope of the California statute that she has sued under."

That code was amended in September 2018 to include relationships between directors and producers, but Gutierrez's ruling concluded that the change could not be applied retroactively.