Most of these countries also have special statuses for skilled workers where the pay isn’t related to worked hours.
In France it often was a separated contract you had to sign, but most people above “junior” level were pushed into it. It works pretty well in some companies, and heavily abused in others.