I worked at a globally remote company. Most of the European devs worked for a one man consulting company, that my employer then "contracted" out to. I'm not sure if that nullifies all the protections, but I'm sure it did a lot.
This is still possible in many European countries, especially less wealthy ones.