No, but it is totally permissible when it involves a kangaroo court conducting a show trial.
If this were a kangaroo court he would have already been jailed and awaiting a firing squad.