These people knew the law. The Indonesians fully publicise what the punishments for these crimes are.
It's not like they were abducted in a foreign country and will be innocently executed. That happens too. Maybe you'd consider placing your sympathies there?