Harvey Weinstein wasn't the kind of criminal defendant New York lawmakers had in mind when they passed a law this year eliminating cash bail for most nonviolent crimes.

Nevertheless, the Oscar-winning producer is due in court Friday for one of many proceedings that courts across the state are scheduling to apprise defendants of the reforms set to take effect Jan. 1.

For poorer defendants facing lesser charges, these appearances could mean release from jail come the new year — or refunds for those who have posted bail.

FILE - In this April 26, 2019, file photo, former movie mogul Harvey Weinstein leaves State Supreme Court in New York for a lunch break. Harvey Weinstein is scheduled to appear in a New York City courtroom Friday, Dec. 6, 2019 for a pretrial hearing in his rape and sexual assault case. The hearing is one of many courts have scheduled across the state in advance of an overhaul of the state's rules for setting bail for criminal defendants. (AP PhotoRichard Drew, File)

FILE - In this April 26, 2019, file photo, former movie mogul Harvey Weinstein leaves State Supreme Court in New York for a lunch break. Harvey Weinstein is scheduled to appear in a New York City courtroom Friday, Dec. 6, 2019 for a pretrial hearing in his rape and sexual assault case. The hearing is one of many courts have scheduled across the state in advance of an overhaul of the state's rules for setting bail for criminal defendants. (AP PhotoRichard Drew, File)

Those outcomes are less likely to happen in Weinstein's case, which is scheduled to go to trial in January.

Weinstein, 67, has pleaded not guilty to charges he raped a woman in a Manhattan hotel room in 2013 and performed a forcible sex act on a different woman in 2006. He is free on $1 million bail and maintains that any sexual activity was consensual.

Weinstein’s deep pockets have given him plenty of freedom as he awaits trial on the charges, which could put him in jail for the rest of his life.

Out on bail since his arrest last year, the disgraced movie mogul has been spotted hobnobbing at New York City nightclubs and getting jeered at a recent actors showcase.

But poorer defendants who have been hauled into courthouses for lesser offenses have ended up in jail if they can’t afford a bail of even a few hundred dollars.

That financial and fairness divide was one New York lawmakers were aiming to solve with sweeping bail reforms.

Among the changes: the bail law signed by Gov. Andrew Cuomo in April eliminates pretrial detention and money bail for the wide majority of misdemeanor and nonviolent felony cases. It also mandates that police issue court appearance tickets instead of arresting people for low-level offenses.

The reforms were motivated in part by the case of Kalief Browder, who was denied bail after he was arrested at age 16 on a charge that he stole a bag, and then spent three years in custody before the case was dropped without a trial. He later killed himself.

People charged with rape and other serious sexual offenses can still be ordered to post bail or be put into pretrial detention come the new year.

Weinstein will get a firsthand look at how the state’s judiciary is gearing up for the changes on Friday, even though they are unlikely to affect his case.

The rollout of the bail law has varied across the state, with some areas having robust coordination while others are doing little to nothing at all, said Insha Rahman, director of strategy and new initiatives at the Vera Institute of Justice.

Kevin Stadelmaier, chief attorney of the criminal defense unit at the Legal Aid Bureau of Buffalo, said his defense lawyers have been preparing for months and are seeking to free people charged with low-level offenses before the law takes effect.

“We're really going to see the fruits of our labor come Jan. 1,” he said.

In Rochester, Timothy Donaher, the county public defender, said the Monroe County sheriff’s office reached out months ago to say they’ve identified inmates who should be freed under the new law.

In New York City, preparation has included discussions between prosecutors, defense attorneys and nonprofit pretrial service providers. Other counties are taking a “wait and see” approach, Rahman said, where judges will wait to receive legal challenges in the new year before releasing someone allowed to be held in jail under the old bail rules.

David Hoovler, district attorney in Orange County, criticized the monthslong rollout, saying there should have been more time given to prepare for such sweeping changes.

“There’s very little guidance by anyone,” he said.

Ryan Tarinelli is a corps member for Report for America, a nonprofit organization that supports local news coverage in a partnership with The Associated Press for New York. The AP is solely responsible for all content.