Whether to prosecute or not is not an objective question of competence.

A trained chimp could have gotten prosecuted the sandwich.