Interesting account from a French guy on Smart Visa S (Startup) regarding the repatriation process. This visa is usually exempt from needing a work permit but it seems with the help of the BOI he acquired one while in France which allowed him to return.