Can a lawyer be fired for not wearing a tie?

Apparently so, at least in this case:

“Seventeen years after he was fired for not wearing a coat and tie to work, former assistant attorney general Donald Bouton’s wrongful termination lawsuit against the V.I. government has been dismissed.”