Of course India has the absolute right do whatever it sees as being in its best interest (it's not as though it has a foreign power invading its territory to force a change in foreign policy). But then again, Western consumers can exercise choice as well, and I, for one, will not buy any product from India until the country formally condemns Russia's invasion of Ukraine. And Western governments can reduce their aid, trade, investment, defence cooperation, and movement of people with India if voters pressure them to do so.
The PRC is a lost cause, but I expected more from the world's largest democracy. I am disappointed that India does not value self-determination enough to rebuke Russia for invasion, murder, looting and rape. Just saying India is acting selfishly simply restates the obvious and makes it no less immoral. Apple should reconsider this move.