Are you of the opinion that countries should be punished for working to protect their business interests in foreign countries? What kind of price would you like to impose on France?
If those foreign countries are our enemies, sure. Of course. They should be de facto "punished" by virtue of the fact that they unwisely invested in our enemy, and we should make that clear by defeating said enemy, and ignoring the complaints of France.
This behavior would have the additional virtue of discouraging future Frances from investing in our enemies in the first place.
What should happen to them as a result? We just should not buy stuff from them as long as they keep up such bad behavior. If when you walk into somebody's shop, he pisses on your leg and socks you in the nose, do you say "excuse me", and go on buying things from him? Or do you, at the very least, turn around and walk out?