A Long Beach police officer fired for a rash of alleged misconduct including a drunk driving conviction will get a second chance to make her case to city officials that her punishment was too harsh.

A judge last week upheld the most serious allegations against the officer, but he ordered city officials to reconsider her firing because he decided to throw out one of the six accusations of wrongdoing.

The ruling sends the matter back to Long Beach’s employment commission, which will have to decide if there’s still enough justification to kick her off the police force.

In May, Monique Hall-Glover, petitioned a Los Angeles County Superior Court judge to overturn the commission’s original decision to fire her in November 2016.

The city of Long Beach says it fired Hall-Glover after a string of problems including a confrontation at a Long Beach Lesbian & Gay Pride board meeting where she had to be physically restrained.

Through her attorney, Hall-Glover declined to comment for this story.

The misconduct began in 2014 when Hall-Glover was on a trip in Pittsburgh with other board members, according to the city of Long Beach’s court filings.

At a bar there, Hall-Glover grabbed her wife by the neck after seeing her talking to another woman, the city alleges.

Hall-Glover’s lawyer contends she only put her arm around her wife to pull her close so they could talk, but the wife described the grip as “uncomfortable,” according to court documents.

In April 2015, attendees at a Pride board meeting tackled Hall-Glover and escorted her out after she burst in swearing and yelling at a fellow board member who was having an affair with her wife, according to court documents.

Hall-Glover was a Pride board member at the time, according to court documents.

After the outburst, Hall-Glover left the scene, according to court papers. The city argued this breached Long Beach police policy because she failed to notify the department about the incident.

Hall-Glover’s attorney argued the department’s rules only require officers to notify their superiors if they’re involved in police incidents in other jurisdictions. In this case, Long Beach police already knew about what happened because they were investigating it, Hall-Glover’s attorney Jim Trott said.

In May 2015, Hall-Glover got into a spat with a Los Angeles County Sheriff’s deputy, the city alleges.

While at a substation doing business regarding a restraining order, Hall-Glover went on a “tirade” at the deputy speaking with her, according to court documents.

At one point, she pointed to a photo of Sheriff Jim McDonnell and threatened to get the deputy fired, according to court documents. McDonnell ran the Long Beach Police Department until he was elected sheriff in 2014.

“I’ll call the man right there. He used to be my chief,” Hall-Glover told the deputy, according to court documents. “See if you have a job after that.”

Finally, on July 22, 2015, Hall-Glover was arrested for drunk driving, according to court documents.

Hall-Glover crashed into a parked car with a blood-alcohol level that was measured at almost twice the legal limit, according to the city.

In December 2015, she pleaded no contest to driving with a blood-alcohol content over .08. She was sentenced to three years probation and about two weeks of community service, records show.

Trott, Hall-Glover’s attorney, didn’t dispute most of the accusations against his client, but he contended the penalty for her conduct was too harsh.

At an Oct. 26 hearing, Trott argued Hall-Glover should have been suspended and ordered into alcohol treatment — not fired — for the drunk driving conviction.

There are police departments that “bring the hammer down” on officers charged with DUIs, but “Long Beach is not one of them,” Trott said.

The judge upheld all the accusations against Glover except the city’s contention that she broke policy by not notifying her supervisors about the Pride meeting outburst.

Because of that one overturned accusation, the city’s employment commission will have to decide whether her firing is still appropriate or if Hall-Glover deserves a lesser punishment.

“The Long Beach Police Department holds all of their employees accountable based on our core values of ethics, intelligence and respect,” the department said in a statement Friday. “The decision made in this case was after a thorough review and evaluation that was based on the totality of the circumstances. We respect the court decision today and will proceed accordingly, with that ruling.”

At last month’s court hearing, Trott said Hall-Glover had a good record at the Long Beach Police Department until 2014 when she started having problems in her personal life after her wife’s affair, according to Trott.

“Everything snowballed on her all at once,” he said.

The city’s attorney, Gary Anderson, argued that wasn’t an excuse.

“She’s a danger to herself and a danger to others,” he told the judge.