THE ECONOMICS of public-sector pension reform are straightforward enough. Funds that states and municipalities must devote to employees’ retirement benefits are funds that they cannot spend on parks, libraries, transportation, public safety and other services. This trade-off is manageable when elected officials adopt honest accounting and tailor promises of deferred compensation to their jurisdictions’ ability to pay. When politicians over-promise and under-prepare, their constituents and employees will eventually face fewer services, higher taxes, broken promises or some combination of the three.

Politically and legally, however, pension reform is anything but simple — as the recent experience of financially stressed governments across the United States demonstrates. In Rhode Island, a 2011 law spearheaded by a courageous Democratic state treasurer, Gina Raimondo, seemed to have saved that state from a looming financial squeeze. It would havecut the state’s $9 billion unfunded liability by roughly half, through a combination of increased retirement ages, reduced cost-of-living adjustments and greater use of 401(k)-like instruments. Public unions sued, claiming that the plan amounted to a breach of contract. Earlier this year, Ms. Raimondo and Gov. Lincoln Chafee announced a deal with the unions that would have avoided a trial while preserving 94 percent of the savings. But the “no” vote of a single police union scuttled the deal, and the case is now set for trial in September, with the entire reform project, upon which Ms. Raimondo has staked her campaign for governor this year, riding on the outcome.

Editorials represent the views of The Washington Post as an institution, as determined through debate among members of the editorial board. News reporters and editors never contribute to editorial board discussions, and editorial board members don’t have any role in news coverage.

In California, meanwhile, another Democratic reformer, San Jose Mayor Chuck Reed, has been forced to withdraw his plan for a statewide referendum that would have authorized local governments to change current employee benefits as part of pension reform. He was thwarted when state Attorney General Kamala Harris, a union-friendly Democrat, issued an official description of the measure that said it would “eliminate constitutional protections” for teachers and nurses. Mr. Reed challenged that language as unlawfully tendentious in state court; a judge’s ruling against him forced him to postpone his ballot drive. So, for now at least, there will be no statewide repeat of the success Mr. Reed enjoyed locally in 2012, when San Jose voters approved a measure that trimmed retirement costs eating up about one out of every five budget dollars. Unions sued to stop that measure, too, and persuaded a state judge to strike down the higher contributions the measure imposed on them. Still, the court upheld reforms worth about $20 million in savings.
The common theme in these stories: For pension reform to take root, bold leadership is necessary but not sufficient. Ms. Raimondo and Mr. Reed were Democrats willing to take on their party’s special interests. Yet even when they seemed to win through majoritarian democratic political processes, determined minorities fought back in other forums. The competition for resources between public-sector retirees and the people they serve is a long-term struggle. Liberal Democrats above all should support a balanced approach that is fair to workers while preserving government’s ability to pay for schools and a safety net. Those trying to establish such a balance must be just as determined and tenacious as those who benefit from the status quo.