While the N-deal talks were going on, India made a statement opposing military action on Iran and also opposing even any economic sanctions. The message ought to have been clear on the outcome even then. If US does not play by rules, there is adequate Indian deterrance to make it comply.