Edit: another commenter mentioned something about treaties needing to go through the EU parliament and council if the areas of concern aren’t delegated to the EU. Not sure which side of the fence this falls under, and I bet there are some potential legal challenges waiting regardless. So perhaps France is hedging its bets by signing on as an individual nation, indicating its willingness to implement the treaty no matter what happens with the rest of the EU. But I am no expert on EU bureaucracy and politics!