'Quite a lot of pessimism' among EU leaders about impact of Iran war, says Irish premier