sending a criminal to prison requires a trial