A U.S. District Judge dismissed #AshleyJudd’s sexual harassment case against #HarveyWeinstein, saying her legal team had “not adequately alleged that her relationship with the Defendant was covered by the statute,” according to @CNN.

But the judge did rule 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.

In the judge’s statement he says, “The Court makes clear that it is not determining whether the 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.”

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

Weinstein’s attorney in this case, Phyllis Kupferstein said in a statement to CNN, “We have said from the beginning that this claim was unjustified, and we are pleased that the court saw it as we did. We believe that we will ultimately prevail on her remaining claims.”

Judd’s attorney Theodore Boutrous actually appeared to be optimistic about the judge’s decision. “Nothing about today’s ruling changes that Ms. Judd’s case is moving forward on multiple claims,” he said, adding, “While we respectfully disagree with the Court’s decision as to the one claim it ruled on today, we look forward to pursuing the three claims for relief that the Court has already ruled can move forward.”

Judd filed her suit in April claiming that she lost out on multiple film roles because of Weinstein, including one in “The Lord of the Rings” franchise. She claims that Weinstein told director Peter Jackson not to work with her on the films, a move she says not only “torpedoed” her opportunity to star in the Academy Award-winning franchise, but also cost her additional work.

Weinstein has denied those allegations.