NEW YORK, NY - MARCH 15: Actress/activist Ashley Judd speaks at a press conference held to announce her appointment as The UN Population Fund
PHOTO: 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
jill biden kelly clarkson divorce advice orig mg_00001210.png
PHOTO: NBC / The Kelly Clarkson Show
jill biden kelly clarkson divorce advice orig mg_00001210.png
Now playing
01:12
Jill Biden opens up about divorce on Kelly Clarkson show
PHOTO: 'GMA' / ABC
Now playing
01:56
Britney Spears' dad Jamie speaks out about conservatorship via lawyer on 'GMA'
NEW YORK, NY - JULY 01:  Lady Gaga seen leaving her hotel on July 1, 2019 in New York City.  (Photo by James Devaney/GC Images)
PHOTO: James Devaney/GC Images/GC Images
NEW YORK, NY - JULY 01: Lady Gaga seen leaving her hotel on July 1, 2019 in New York City. (Photo by James Devaney/GC Images)
Now playing
02:57
Lady Gaga's dog walker shot and dogs stolen
robot dog
PHOTO: spotsrampage.com
robot dog
Now playing
02:22
Paintball gun mounted on robot dog
PHOTO: Newport Coastal Adventure
Now playing
00:58
Dolphin 'stampede' caught on camera
PHOTO: NBC
Now playing
01:46
'SNL' gives public figures a chance to repent
Now playing
02:21
Fans awed by Dolly Parton's humble response to a statue
Singer/songwriter Demi Lovato attends the 2018 Billboard Music Awards 2018 at the MGM Grand Resort International on May 20, 2018, in Las Vegas, Nevada (Photo by LISA O
PHOTO: LISA O'CONNOR/AFP/Getty Images
Singer/songwriter Demi Lovato attends the 2018 Billboard Music Awards 2018 at the MGM Grand Resort International on May 20, 2018, in Las Vegas, Nevada (Photo by LISA O'CONNOR / AFP) (Photo credit should read LISA O'CONNOR/AFP/Getty Images)
Now playing
01:47
A look back at Demi Lovato's career
PHOTO: Walt Disney Studios/YouTube
Now playing
02:23
Disney's 'Cruella' goes up in flames in new trailer
PHOTO: EarthCam
Now playing
01:02
See Mardi Gras 2021 versus 2020
PHOTO: Twitter/@Adam Sandler
Now playing
01:06
See Adam Sandler's iconic swing on 25th anniversary of 'Happy Gilmore'
CATANIA, ITALY - FEBRUARY 18, 2021 - Mount Etna erupts in Sicily sending plumes of ash and spewing lava into air - PHOTOGRAPH BY Marco Restivo / Barcroft Studios / Future Publishing (Photo credit should read Marco Restivo/Barcroft Media via Getty Images)
PHOTO: Barcroft Media/Barcroft Media/Barcroft Media via Getty Images
CATANIA, ITALY - FEBRUARY 18, 2021 - Mount Etna erupts in Sicily sending plumes of ash and spewing lava into air - PHOTOGRAPH BY Marco Restivo / Barcroft Studios / Future Publishing (Photo credit should read Marco Restivo/Barcroft Media via Getty Images)
Now playing
01:04
See mesmerizing footage of Mount Etna spewing lava
Ben Affleck, Gal Gadot and director Zack Snyder on the set of
PHOTO: Warner Bros.
Ben Affleck, Gal Gadot and director Zack Snyder on the set of 'Justice League.'
Now playing
01:02
See the new trailer for the 'Justice League' director's cut
PHOTO: Twitter/@misanharriman
Now playing
01:15
Inside Harry and Meghan's life after royalty
PHOTO: 'Extra TV' / Warner Bros. Television
Now playing
01:59
'Bachelor' host steps aside after comments about racism
(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.