Hasan Rouhani's change of heart came after Trump said there's a chance the two could meet following a surprise intervention by France's president at the G-7 summit.