At what stage of the formal criminal justice process does the defendant enter a plea