NEW YORK, NY - MARCH 15: Actress/activist Ashley Judd speaks at a press conference held to announce her appointment as The UN Population Fund's (UNFPA) Goodwill Ambassador at United Nations on March 15, 2016 in New York City. (Photo by Jemal Countess/Getty Images)

NEW YORK, NY - APRIL 19: Co-Chairman of The Weinstein Company Harvey Weinstein speaks at National Geographic's Further Front Event at Jazz at Lincoln Center on April 19, 2017 in New York City. (Photo by Bryan Bedder/Getty Images for National Geographic)
Getty Images
NEW YORK, NY - MARCH 15: Actress/activist Ashley Judd speaks at a press conference held to announce her appointment as The UN Population Fund's (UNFPA) Goodwill Ambassador at United Nations on March 15, 2016 in New York City. (Photo by Jemal Countess/Getty Images) NEW YORK, NY - APRIL 19: Co-Chairman of The Weinstein Company Harvey Weinstein speaks at National Geographic's Further Front Event at Jazz at Lincoln Center on April 19, 2017 in New York City. (Photo by Bryan Bedder/Getty Images for National Geographic)
Now playing
00:40
Judd suit claims Weinstein ruined her career
Yonkers Police Department/Instagram
Now playing
01:00
Cops rush to lift car off of trapped baby and mom
Now playing
00:39
'The Simpsons' is doing something it's never done before
NBC
Now playing
02:04
Intoxicated Seth Meyers has trouble with Lorde's real name
"CBS Sunday Morning"
Now playing
01:01
Why Matt Damon's daughter won't watch 'Good Will Hunting'
Instagram/@the.bam.bus
Now playing
01:20
Hear the BAM bus women describe their first meeting
Now playing
01:33
Dog was missing for 5 days. Then a neighbor heard whining behind a wall
Cape Wildlife Center
Now playing
01:55
Goose has an adorable reaction when mate has surgery
Dome Home
KARE
Dome Home
Now playing
01:37
$3 million domed home (that comes with indoor slide) goes up for sale
KMGH
Now playing
02:06
This bear had a bucket on its head for more than a week
Rachael Flores
Now playing
02:22
Employees go viral after resigning via Burger King sign
TikTok/GGGGoneyyyy
Now playing
01:31
Boutique mistakenly emails job applicant saying she's 'not that cute'
@SuperOllyT/Instagram
Now playing
01:04
See Jack Grealish's sweet moment with young fan
Aisha Nieves dog
Aisha Nieves
Aisha Nieves dog
Now playing
01:48
See moment woman reunites with dog she lost 2 years ago
Miami Dade Fire Rescue
Now playing
00:30
Cat reunites with family after Surfside condo collapse
WPBN/Twitter phil lewis
Now playing
01:36
Terrifying video shows festival ride malfunction
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.

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 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’s suit was filed in April. In it she claimed that she lost out on multiple film roles because of Weinstein, including one in “The Lord of the Rings” franchise. She says Weinstein told director Peter Jackson and his producing partner, Fran Walsh, not to work with Judd on the films, a move that not only “torpedoed” her opportunity to star in the Academy Award-winning franchise, but also cost her additional work. Weinstein has denied those allegations.

Judd filed her lawsuit after Jackson said in a December 2017 article to New Zealand news website Stuff that Weinstein had made those claims to him about Judd.

Judd appeared in “Frida,” which was distributed by Weinstein’s company Miramax in 2002, and starred in “Crossing Over,” which was distributed by The Weinstein Company in 2009.

Judd was among the first women in Hollywood to accuse Weinstein of sexual misconduct in a series of reports published by The New York Times and The New Yorker last October. Since then, more than 80 women have accused Weinstein of varying degrees of misconduct, including harassment and rape. He has denied all allegations of “nonconsensual sexual activity.”

Weinstein is awaiting a pretrial hearing in March in a New York criminal case. He faces five felony charges: two counts of predatory sexual assault, one count of criminal sexual act in the first degree and one count each of first-degree rape and third-degree rape. Weinstein has pleaded not guilty.

CNN’s Rob Frehse and Elizabeth Joseph contributed to this report.