You can be treated adversely or sanctioned for your disposition. Fair or not, it's not illegal. Unless the treatment rises to some level of discrimination based on sex, race, religion or whatever, they're free to set arbitrary standards that have nothing to do with work output.