Cecile Kohler and Jacques Paris are on their way home after being allowed to leave the country, the French president says.