It's not legal or illegal. That hasn't been decided yet. Nothing like this has ever existed before, and it will take some time for the law to deal with it.