Yes. However, I would love to read a single case where someone was found not guilty and was promptly sentenced to death, and then executed, anyway.
You are presumed innocent until found guilty.
It is better than 5, 10, 20, or 100 guilty men go free than for one innocent man to be put to...