If you read the article it does give the circumstances of the ruling. I would be inclined to agree with you on principle, but from the article:
Economist and intellectual property expert James Love said, "The Bayer price of Rs 34,11,898 per year ($69,000) is more than 41 times the projected average per capita income for India in 2012, shattering any measure of affordability. Bayer tried to justify its high price by making claims of high R&D costs, but refused to provide any details of its actual outlays on the research for Sorafenib, a cancer drug that was partly subsidized by the US Orphan Drug tax credit, and jointly developed with Onyx Pharmaceuticals. Bayer has made billions from Sorafenib, and made little effort to sell the product in India where its price is far beyond the means of all but a few persons."
This is in direct contravention to the WTO TRIPS agreement:
Under Section 84, a compulsory licence to manufacture a drug can be issued after three years of the grant of patent on the product, which is not available at an affordable price. Under the World Trade Organisation TRIPS Agreement, compulsory licences are legally-recognized means to overcome barriers in accessing affordable medicines. This is the first time in the history of the Indian Patents Act, 1970, that the provision under Section 84 has been invoked.