It's not definitely illegal yet.
It's also definitely not not illegal either. Case law is very much tbd.