It's a thin line. Countries deserve a level of self determination which allows them to define which freedoms mean most to them but at the same time I do believe in a universal principle of basic human rights and if those rights are violated. The UN has the right to impede.
But this isn't genocide it's story of a bunch of foreigners who got caught doing a clearly illegal thing for profit. From what I can see there is no call for all Indonesian drug smugglers with similar fates to be freed, just these 9. Simply because they're foreigners from a more powerful nation.