Earlier quoted context omitted.
Its a Nintendo DS Game that has grown a cult following ever since the first game was released. A visual novel style game.
Actually the original series is from Game Boy Advance, but the GBA games were never released outside of Japan. Nintendo DS ports were the first one releases in the rest of the world. BTW, I am a great fan of the series, really recommend it.
https://en.wikipedia.org/wiki/Criminal_justice_system_of_Jap...
The conviction rate in Japan is over 99% -- going to "trial" is essentially the same as being found guilty.
The prosecuting attorneys have a lot of discretion over what is prosecuted, and are effectively de facto judges. They may decide to simply not prosecute a case if they feel "character, age, environment, gravity of the offense, circumstances or situation after the offense" makes it unnecessary.
So it's easy to imagine there might be some with quite an ego like Edgeworth or Von Karma -- and a protagonist like our heroic defense attorney would be quite the unusual attorney, indeed! I loved the games even without knowing any of that, but that really makes them all the more poignant and funny for me.