If you talking about Vodafone case:
While retroactive applicability of Income Tax act is questionable, it is hard to argue for Vodafone or Hutchinson when they tried to avoid Tax by doing the transaction through a Cayman Island registered entity. To me, while it may be legal at that time, it sounds like pure corporate greed which Indian government is trying to fix. But that is not very different from other countries such as UK, Countries in EU trying to clamp down on Tax Haven exploits by Google etc.