It's not black and white, and that is the problem.
Drug smugglers make a lot of money in Indonesia, like Lindsay Sandiford did, precisely because they face execution if they are caught. If the stakes were lower, more people would smuggle drugs, and the value would be less.
Brazil and France have both publicly condemned the executions, and pleaded for Indonesia to not carry out the executions tonight. It appears that they will go ahead anyway.
I do feel very sorry for the families who look so very, very anguished, and for those who are finding out the details of their execution now - Rodrigo Gularte is said to not understand, but is flashing between lucidity and delirium. Mary Jane Veloso has told her sons to be good, and knows that she will be executed third. Zainal Abidin will be last.
Indonesia clearly doesn't feel it has a choice though. Their prison system is hardly any better, it's corrupt and overcrowded, packed with disease and suffering. They have a drug problem that is getting no better and they are losing people. No tolerance means nothing if they never follow through. So they need another tactic entirely, and it seems they don't have one.