The good news is that illegal doesn't necessarily mean unethical.

The bad news it that it's probably at least mildly unethical.