Of course. One always needs to weigh it against the psychological cost of complying with unethical directions.