Ask Greece.
Protests won't work, but if they elect a government that wants to resist, then that government would have political power to force changes at the EU level, as they have a much larger vote bloc than Greece.
The ECB - like most central banks - is given completely autonomy from decisionmakers in the EU and EC. France's politician weight in the EU has little bearing on what the ECB or the IMF decides if France defaults.
In 2006-07, Italy and Spain were similarly sized economies to France, but when they defaulted due to the Eurozone crisis, their entire autonomy on budgetary decisions was stripped despite also being large and (then) politically powerful nations within the EU.
France needs to rightsize it's social benefits to be comparable to it's EU peers like Germany or Netherlands ASAP or they will be forced to with no say during a default.
The reality is France can't afford the status quo (in reality, only the expansion from 2005-25 was prolifigate) much longer.
Under IMF or ECB receivership, taxes would rise AND social services would be cut. By cutting stuff today, they can at least minimize the pain from cuts.