Politics doesn’t seem to be Roderick Ireland’s strong suit.

The chief justice of the state’s Supreme Judicial Court is on the outs with Gov. Deval Patrick, stuck in neutral with Senate President Therese Murray, and getting hammered by House Speaker Robert DeLeo, his erstwhile friend.

Ireland and DeLeo seemed to be the best of friends this summer when they pushed for a court reorganization plan that kept the Probation Department in the judicial branch. Their joint press conference provided some cover for DeLeo, who popped up in a special investigator’s report for placing friends, supporters, and a godson at probation, but it angered Patrick, who appointed Ireland to the top job at the SJC and wanted probation moved to the executive branch.

Unfortunately for Ireland, sources say Patrick is still miffed at him, while his alliance with DeLeo turned out to be fleeting. DeLeo didn’t protect Ireland during this year’s budget deliberations, where the courts took a $43 million hit. And when a supplemental budget made its way through the Legislature last week, the House tucked in a provision that gave court officials an extra $12 million while effectively barring them from moving ahead with the planned closing of 11 courthouses.

The money was welcome (court officials say it may forestall some layoffs) but the rejection of courthouse consolidations had to be galling, after so much work had gone into identifying the right courthouses and giving notice to all parties. It was another reminder that the courts aren’t really an independent branch of state government but instead a wholly owned subsidiary of the Legislature.

The House provision said no courthouse or court session shall be closed until it is approved by the court administrator (a new position that won’t be filled until next year) and it requires 90-day notice to the Legislature with a full explanation of why the closing is necessary along with the estimated cost savings.

Such legislative micromanagement alters the power balance between the two branches. It helps explain why the former head of the Probation Department, John O’Brien, gave jobs to people recommended by lawmakers, including DeLeo, because those lawmakers controlled his budget.

Margaret Marshall, the previous chief justice, used to make the case for an independent judiciary in speeches around the state and the country, but always in a way that steered clear of specifics about the challenges faced by the court system in Massachusetts. Ireland is giving a speech tonight to the Massachusetts legal community, but court insiders don’t expect him to mix it up with the Legislature. Indeed, comments from court spokeswoman Joan Kenney yesterday indicated the go-along-to-get-along attitude at the SJC will continue. “The Trial Court would have preferred the ability to close courthouses where needed, but we will continue to work with the Legislature and the governor going forward,” Kenney said in an email.

One court insider said Ireland, overseeing an understaffed system where morale is poor (monthly attrition rates are running high, with 31 employees retiring or leaving last month), needs to take a stand against legislative interference. The insider, only half in jest, suggested court officials should go ahead and consolidate the 11 courthouse operations in defiance of the language in the supplemental budget.

“What are they going to do? Sue us?” the insider asked.

Bruce Mohl oversees the production of content and edits reports, along with carrying out his own reporting with a particular focus on transportation, energy, and climate issues. He previously worked...