If sued for discrimination, the court will likely rule that this behaviour imposes an undue hardship on the employer so need not be tolerated.
Discrimination happens when an employee treated unfairly, or unfavourably. Discrimination is prohibited by laws, it occurs when an individual is adversely discriminated against due to any number of factors.