At the G7, strong warnings to Iran and Russia