... You still are supposed to act in the best interests of your share holders.
"Obviously the CEO was going to break the law, anyone who thought otherwise was a fool." is not grounds for voiding the legal obligations that CEO has to his shareholders.