BOSTON (AP) — A Massachusetts judge charged with helping an immigrant escape a federal agent waiting to arrest him will be paid while her legal battle plays out, the state’s highest court ruled Tuesday.

Reversing course in a closely watched case that has showcased official resistance to the Trump administration’s tough immigration policy, the Supreme Judicial Court said Newton District Court Judge Shelley Joseph would resume collecting her annual salary of $181,000.

In a 5-1 decision, it also ordered that she receive back pay dating to late April, when the high court ruled she should be suspended without pay.

Joseph is fighting federal criminal charges for allegedly helping a man from the Dominican Republic slip out a back door of her courthouse while a federal immigration officer was waiting for him. She has pleaded not guilty to obstruction of justice, and court records indicate she rejected a plea deal offered by federal prosecutors last month. A former court officer also was charged.

The case has drawn national attention, with Joseph’s lawyer denouncing her indictment as “absolutely political.”

“The federal and state governments have staked out different and sometimes conflicting positions on what can or cannot be done with respect to immigrants who are subject only to … civil warrants in state courthouses,” Justice Scott Kafker noted in an opinion attached to the decision made public Tuesday.

Joseph had argued in an affidavit filed last spring that her family faced mounting legal bills, had to borrow money from friends and family and was at risk of having to sell their home.

Lawyers’ groups and a collection of retired judges backed Joseph, calling it “unprecedented” to take away the pay of a judge who hasn’t been found guilty of wrongdoing.

The Massachusetts Bar Association, Women’s Bar Association of Massachusetts and Massachusetts Academy of Trial Attorneys said in court documents that judges “must be able to act without fearing for their livelihood or the well-being of their family if a powerful litigant, the public, or other judges disagree with their actions.”

Chief Justice Ralph Gants said Tuesday he came around to that view.

“In turbulent times, the risk of being stripped of a paycheck may have a chilling effect on a judge’s willingness to challenge the conduct of a prosecutor and thereby diminish the overall independence of the judiciary,” he wrote.

In a dissenting opinion, Justice Frank Gaziano said the decision “smacks of preferential treatment, and thereby erodes public confidence in the judiciary.”

In a statement, a spokeswoman for Gov. Charlie Baker said, “Governor Baker believes Judge Joseph should not hear cases until the federal case is resolved and believes that no one should obstruct federal law enforcement officials trying to do their jobs. The Baker-Polito Administration has filed and continues to support legislation to allow court officials as well as law-enforcement to work with federal immigration officials to detain dangerous individuals.”​

(Copyright (c) 2024 Sunbeam Television. The Associated Press contributed to this report. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox