It held that in a criminal prosecution, an accused person cannot waive his fundamental rights and get convicted.