Why Iran persists in electricity exports despite shortages?

Earlier this year, amid growing warnings of a significant electricity shortage, Iran announced that its power lines had been connected through Turkey to Greece and Bulgaria, paving the way for electricity exports to Europe.