Once the butt of jokes about the criminal justice system -- and scapegoat for all its failings -- the CPS now plays a central role , not least because it is responsible for charging all cases that come to court .