Flogging could work as a security solution for minor offenders, but there'd still need to be a compensation mechanism.
No deal on executions: I don't trust any judge or jury with that kind of power. People are fucking idiots and convict with shaky evidence all the time.