illegal != unethical.
To play devil's advocate, doesn't a state possess a greater obligation to it's own people than to those outside of it?
You (perhaps naïvely) expect your government to protect you from foreign threats. You don't expect (and probably don't want) your government to protect everyone, everywhere.