You can admit guilt and plead innocent. It's weird, but it's true. And the jury can acquit in spite of overwhelming evidence of guilt. That's how the anglosaxon system of criminal justice works (or used to; perhaps this is only true now in the U.S.?).