That's where you are wrong. Yes it's a coastal fleet with no warship bigger than a light frigate - which rate no more than corvette staus by today's standards.
But back in the day, the Shah had ambitions, and while the mullahs cancelled most of those ambitions, they did take delivery of the Kharg, a big Olwen class replenishment ship.
And with 1700 tons diesel (plus 18000ton fuel oil for its own boilers), it could shepherd one of those frigates around the world, twice.
That would create quite a large oil slick, eh ?
for your review & possible ping.