Ignore legality … focus on ethics.
Don’t do anything which you believe to be against your own inner code of ethics.