The newly revealed encounter with the sleazy cinema honcho came 20 years ago while Judd was filming “Kiss the Girls.” She agreed to meet him at a Beverly Hills hotel for a “business appointment,” but he insisted she come up to his room.

Once there, he pushed her for a massage and then asked her to watch him take a shower, the actress said. “I fought with this volley of no’s, which he ignored,” Judd said. “Who knows? Maybe he heard them as maybe. Maybe he heard them as yeses. Maybe they turned him on.”

Eventually, she made her deal with the producer — just to get him to back off so she could escape, she said. But Weinstein evidently took it seriously and approached her during an event in 1999 to start trying to cash in.

“Remember that little agreement we made? Think I’ve got that script for you,” she says he told her. “And he looked at me, across the table . . . and he said, ‘You know, Ashley, I’m going to let you out of that little agreement we made.’ ”

“And then I said, ‘You do that Harvey, you do that.’ ”

The actress never got that Oscar. Judd said she told friends, family and agents about what happened but didn’t feel she had enough power in the industry to accuse him publicly at the time.

“I knew it was disgusting,” she told ABC News. “And if I could go back retrospectively with a magic wand and say . . . ‘I wish I could prevent it for anyone always.’ And, no, I don’t know that I would have been believed. And who was I to tell?”

Since Judd first spoke out earlier this month, the mogul has been fired from The Weinstein Company and is facing criminal investigations in New York, LA and London.

One of Weinstein’s accusers has also filed a $5 million suit against his titular company, and the New York state attorney general has opened a civil probe into the firm to find out how it handled sexual-harassment and discrimination complaints.

On Thursday, Weinstein sued the company to access his old e-mails and personnel files in order to protect himself against the investigations. In the suit, he says he needs the records to protect the company — in which he and brother Bob still own a significant stake — from unjustified legal settlements.

“Mr. Weinstein believes that his e-mail account — which is the only one he used throughout the time he was employed by the company — will contain information exonerating him, and therefore the company, from claims that may be asserted against them,” the suit states.

He also wants to know if colleagues leaked any information from his files to the press — so he can potentially sue the company himself, the suit states.

Weinstein, who is in Arizona undergoing therapy for sex addiction, has denied having non-consensual sex with any women.