The government has made it clear it only wants to act defensively and in line with international law when it comes to Iran.