You are misunderstanding how much of a travesty this is.
No government organisation (typically the Crown Prosecution Service in England and Wales) was involved in bringing these prosecutions.
The Post Office itself was legislatively empowered to bring private prosecutions of their employees to the state courts of England.
The whole thing is insane.