Right. The trial is not where "we find out what happens." It's where the state, having already decided you suck and need to spend some time in jail, needs to prove it to a jury of your peers beyond a reasonable doubt in a formal setting where only legally obtained evidence can be used.