Back, way back, in the early 1980s, the New York office of the United States Customs Service experienced a full-fledged scandal concerning illegal kickbacks, graft, extortion and more, much more, including obstruction of justice. High-level customs officials went to jail.
The Area Director of the Port of Newark was charged with illegally raising the prices a bit extra, shall we say, for licenses and permits in the port. The extra proceeds, apparently, were directed to his personal coffers, not the government's. Other high-ranking officials were indicted for other illegal activities such as outright theft of imported goods and, as did the Area Director, served time in prison.
While I was working at Newark I recall quite vividly the morning anxiety of wondering who was going to be taken away in handcuffs that day, the goal of which was to put all employees on notice. (Note to my right-wing readers: no, I wasn't among them.)
What was not done, however, was not allowing those who were eligible to retire and collect their earned pensions. The pensions had nothing to do with the penalties for the crimes committed. That was determined in a court of law. Yes, people lost their jobs but, if they were eligible, they did not lose their pensions because one thing had nothing to do with the other.