Iran will release two French citizens imprisoned in Iran for over three years in exchange for an Iranian detained in France.