It's interesting that the biggest mafia bosses often go to jail on frame-up charges:
Vito Cascio Ferro was convicted for the only murder he didn't commit, that really angered him when he was convicted.
Vito Genovese: framed on that drug deal.
Lucky Luciano: also probably framed, at least he was involved with prostitution less directly than with drugs, murder, extortion etc.
Carmine Tramunti: not really a big boss, but still a member of the commission: framed on drug charges, at least I read he was.
The whole leadership of the Rochester family went away in the 70s on framed evidence (but for a murder they really committed)
Toto' Riina: this one wasn't really framed, but seeing that the prosecution tries to put him in every single murder committed in Italy (an informant even accused him of ordering the shooting of the Pope) I think he also had his share of frame-ups.
I also read somewhere that some years ago there was a representation (don't remember where) of Al Capone's trial on tax evasion and using the modern laws it ended up in an acquittal
It's funny to think how angry these scumbags were when put away on framed-up charges. Never being caught for what they did, and ending up in jail for what they didn't do - the only bigger humiliation I can think for a mafioso is what
Mario Puzo did to Salvatore Maranzano - had him killed by a character that didn't even exist in real life.