I asked two questions specifically because a clause like this in an employment contract is there to enable termination no matter if the act is legal or not. Also, breaking your employment contract can make you liable for damages if the employer can demonstrate them.