A physical copy is an actual tangible thing, and courts have ruled that licenses travel with the ownership of the actual thing--i.e., copyright law does not trump property law.
A digital copy is an ephemeral, transitory thing. The very nature of a digital object means that the object used/viewed/etc is not the same digital object that was stored (i.e., the copy on your hard drive is not the copy in memory, though they may be identical).
Copyright law is entirely about restrictions on copying things and digital goods are trivially copyable things.
The French law makes little sense. The distinction between physical goods and intangible items exists for a reason in copyright law, and indeed is inherent in other parts of EU law, such as with respect to e-books. Importantly, earlier this week the EU itself ruled that ebooks cannot be resold (see https://www.publishersweekly.com/pw/by-topic/international/i...) and the French court's reasoning in this case is entirely contrary to the reasoning of the EU.
Expect this law to be overturned, or for PC game prices to go up dramatically in the EU if it is not.