A disgraced former court officer has admitted to forcing himself on a woman in a Brooklyn courthouse stairwell after insinuating that if she performed a sex act on him, her boyfriend’s case would get tossed.

Former Sgt. Timothy Nolan copped to charges of public lewdness Wednesday — in exchange for no jail time — for forcing the woman to perform oral sex on him in October 2016 while she was waiting for her boyfriend to make bail.

Victim Erica McRae told reporters Wednesday that Nolan assaulted her without a second thought.

“He didn’t have any type of fear or reaction when it was being done,” she said. “It just seemed natural for him.”

McRae has publicly identified herself since filing a civil suit against Nolan and the Office of Court Administration.

Nolan resigned from his job Tuesday, said his lawyer, Michael Cibella. The sex offender also lost his pension since the sex attack.

The 59-year-old former court officer had lured the 26-year-old woman into the stairwell, where he told her, “I got you. I will take care of you.”

McRae said she didn’t mind that her assailant had gotten off with just a slap on the wrist — because at least he won’t be lurking around the courthouse anymore.

“[The terms are] more than enough, because now it can’t happen to anyone else,” she said. “He won’t be there.”

Before the plea, Nolan had faced up to a year behind bars if convicted of charges of official misconduct and second-degree coercion.

“What this demonstrates is whether it’s a suite in a Hollywood hotel or a stairwell in a Brooklyn courthouse, a man does not have the power to sexually coerce a woman,” said McRae’s lawyer, Sanford Rubenstein.