Code of Conduct violations are typically cause for immediate dismissal.  The dismissed employee can always seek litigation if the dismissal was an incorrect interpretation of the company's Code of Conduct.