How can India balance the ethical considerations of international events with its strategic interests?

With Indian leaders condemning the killing of Iran's leader as immoral and unlawful, I want to understand how India navigates the tension between taking ethical stands and pursuing its own strategic interests in global affairs.