Fouche had a plan, which he probably adapted as necessary, which left him sitting pretty at the second Restoration until he was shafted by the chambre. No-one can plan for everything! Soult, on the other hand, completely missed any chance of coming out well at that point - he was seen as disloyal to one side and incompetent to the other - I can't believe this was what he intended. His recall from exile and resoration to his rank followed the same course as that of most of the other exiles. His later promotion under L-P was due to his status as Grand Old Man of the Empire, any suggestion that he had, in fact, betrayed Napoleon would not have been to his advantage.