Counting out all "third world" nations as being completely backwards and unable to defend themselves in any meaningful way against a superior force is definitely hubris of the highest order. Iran is not Iraq.
The British learned this in the Falklands to their suffering, when the Argentine naval air force started dropping Exocets on the fleet. It was primarily sheer good luck that they only knocked out some supply ships, and didn't sink a carrier.