An Indonesian court has sentenced two Australian men to death by firing squad for leading a drug smuggling ring on the Indonesian island of Bali .