it's not the kernels responsibility to enforce the local law, but it is the users
responsibility to _comply_ with the local law.
and if the kernel doesn't provide reasonable tools to allow the user to comply with the local
laws then the kernel is at fault.
remember that if someone really wants to they can change the code (they have the source), and
that there are people who have legitimate reasons to operate outside the 'normal' rules (for
example Ham radio operators can use wifi equipment on channels that are not legal for other
people to use in the US)