We already have long-established legal precedent for dealing with such issues and much more. It can actually get quite complicated - which is why we defer to the experts and move slowly on such subjects.
We really don't in reality. The manner in which even the existing laws are enforced leaves a lot to be desired.
Loopholes and lawfare are the tools of the corrupt
Laws are like code: It only seems perfect until it meets the real world. And the complications only seem frivolous until it's your ass on the line.