There are rules, but one can decide to not follow them.

One thing that I saw (but never experienced myself) happen with North American companies wanted to leave EU is just doing their usual things (thus not following local rules), and then people have to sue and wait many years to be compensated.