What makes that kind of hypocrisy okay?
When France was “angry” about Australia buying US nuclear subs and canceling their French contract do you really think that was real?
It’s all for show, just like being “angry” at another country spying on you. You do something like “kick out their embassy employees”, then turn around and let new ones come in.
There was no need to just do this for show. Most members of the public don't care about submarine deals. It doesn't make their government more popular.
The public may not care about submarine deals but France certainly cares about how they are perceived on the world stage.