It’s not just France many countries have such limits and it is well explained in airports and custom declaration forms.
A hardware wallet does not contains money, it contains a private key. This could easily be dismissed in court by comparing it to knowing the password to your bank app on your phone IMO.
So fuck them 😊.