It is law, just not in every European country, but it's definitely not unusual.
And yes, companies often go with the lowest common denominator across Europe to avoid any doubt when dealing with multinational people. In my personal case it could be reasonably claimed that laws of 5 different countries apply to me based on citizenship, registered residence, actual places of work... Of course my employer wants to be covered.