BIARRITZ, France (Reuters) - U.S. President Donald Trump said on Monday he would meet Iran's president under the right circumstances to end a confrontation over a 2015 nuclear deal and that talks were underway to see how countries could open credit lines to keep Iran's economy afloat.
But Trump, speaking at a G7 summit in the French resort of Biarritz, ruled out lifting economic sanctions to compensate for losses suffered by Iran.
Trump told reporters it was realistic to envisage a meeting between him and President Hassan Rouhani in coming weeks, describing Iran as a country of "tremendous potential".
"I have a good feeling. I think he (Rouhani) is going to want to meet and get their situation straightened out. They are hurting badly," Trump said.
French President Emmanuel Macron, host of the G7 summit, told the same news conference that Rouhani had told him he would be open to meeting Trump. Macron said he hoped a summit between the two men could happen in coming weeks. Trump and Rouhani head to the United Nations General Assembly in September.
Rouhani is not Iran's top decision-maker. That role is held by the fiercely anti-American Supreme Leader Ayatollah Ali Khamenei - and anything agreed at a Trump-Rouhani encounter would be subject to Khamenei's approval.
European leaders have struggled to calm the deepening confrontation between Iran and the United States since Trump pulled Washington out of Tehran's 2015 nuclear deal with world powers and reimposed sanctions on the Iranian economy.
But Macron has spent the summer trying to create conditions for a period of pause to bring the two sides back to the negotiating table.
"What I hope is that in coming weeks, based on these talks, we can manage to see a summit between President Rouhani and President Trump," Macron said, adding that he believed if they met a deal could be struck.
Macron's efforts took a surprise turn on Sunday when Iranian Foreign Minister Mohammad Javad Zarif, who is under U.S. sanctions, flew to the French seaside town of Biarritz where the Group of Seven leaders were meeting.
"VERY VIOLENT FORCE"
Appearing to refer to Iran's recent combative rhetoric about its ability to attack U.S. interests, Trump suggested Iran would meet "violent force" if it followed through on its threats.
"They can't do what they were saying they were going to do because if they do that, they will be met with really very violent force. So I think they are going to be good," he said.
Trump said he was not open to giving Iran compensation for sanctions on its economy. However he said that the idea under discussion would be for numerous countries to give Iran a credit line to keep it going.
"No we are not paying, we don't pay," Trump said.
"But they may need some money to get them over a very rough patch and if they do need money, and it would be secured by oil, which to me is great security, and they have a lot of oil... so we are really talking about a letter of credit. It would be from numerous countries, numerous countries."
The 2015 deal between Iran and six world powers, reached when Trump's predecessor Barack Obama was in office, aimed to curb Iran's disputed uranium enrichment program in exchange for the lifting of many international sanctions on Tehran.
Since ditching the deal last year, Trump has pursued a policy of "maximum pressure" to try to force Iran into broader talks to restrict Iran's ballistic missile program and end its support for proxy forces around the Middle East as well.
During his brief visit on Sunday, Zarif held talks with Macron and British and German officials before returning home.
Though potentially a diplomatic minefield, Macron's gamble with Zarif appears to have worked out for now, as Trump on Monday endorsed the French president's initiative and toned down his usual harsh rhetoric on Tehran.
"MAKE IRAN RICH AGAIN"
While Trump reaffirmed Washington's goal of extracting further-reaching security concessions from Iran, he said he wanted to see "a really good Iran, really strong", adding that Washington was not looking for regime change.
"I knew (Zarif) was coming in and I respected the fact that he was coming in. We're looking to make Iran rich again, let them be rich, let them do well, if they want," Trump said.
While Trump's European allies also want fresh negotiations with Iran, they believe the nuclear deal must be upheld to help ward off the risk of wider war in the Middle East. Macron had already met Zarif in Paris on Friday ahead of the G7 summit.
"What we want is very simple. It's got to be non-nuclear (as well)," Trump said. "We're going to talk about ballistic missiles..., about the timing. But they (Iran) have to stop terrorism. I think they are going to change, I really do."
Trump said it was too early for him to meet Zarif himself.
Rouhani signaled a readiness to meet Trump if that helped Iran, according to the official presidency website.
"If I know that in meeting with somebody the problem of my country would be solved, I wouldn't hesitate because the central issue is the national interests of the country," Rouhani said.
(Additional reporting by Jeff Mason, Marine Pennetier, and Babak Dehghanpisheh in Geneva; Writing by John Irish; Editing by William Maclean and Gareth Jones)