I could see Mozilla being forced to comply and then letting it be known that if you delete a certain part of the firefox source and recompile, it goes away.
I don't think they can be forced to comply. Even if they have a local office they can just leave and tell Macron to fuck off. The government will probably force ISPs to block Mozilla's website (at DNS level because politicians/idiots) and nothing will actually change.