Incorrect Syed.Ali.Haider. Correct Horus.
India and China both got exemptions from the International sanctions on Iran which is why both countries continued to purchase Oil from Iran( though ensuring that oil imports did not increase, increases in demand were met from KSA).
The only difficulty India faced was in paying Iran as no interntaional merchant was willing to transfer money to Iran(China did not have this problem as China operates its own clearance merchant, we saw this and have now started our own as well). But a work around was found for that and our trade has continued with Iran.
Essentially this means that any in the GoP who are citing sanctions as the reason for non-compliance of the Pakistani-Iranian contract are lying through their teeth.