Nothing wrong with that...if they got their due process.
There is no due process in Arabia or Islam. Confessions signed in blood are valid.