The EU recently opened a mechanism to allow banks to interact with Iran (INSTEX; https://en.wikipedia.org/wiki/Instrument_in_Support_of_Trade... ). It is realtively recent and idk how much it will be used, but it is not an unsolvable problem (with some overhead).