Maybe not. The law says they need to charge shipping costs
I'm sure they are charging the shipping costs, at least on average.
Amazon is a business, therefore, they need to make money off the transactions.
The costs are likely just buried in the item price, to make it easier for consumers to see
what the total cost of buying that item will be ---- you think shipping is free, but it really means the item isn't discounted as much as it would otherwise be, if the shipping were charged separately.
If France pushes it.... I see Amazon changing the logic for the display of the final bill in France
to display a "discount" for each item, and then offset the total discount by a Shipping line item.
I'm sure Amazon has the computer science know-how to figure out what portion of the shipping belongs to each item, after considering all the shipping costs savings that are possible by combining items in the order together in the same shipment in the most optimal manner.