MS negotiated the agreement. So “allowed” seems like a fair description of the contents of a contract they negotiated and agreed to.
Does Activision not have HR policies? If I sexually harassed my co-workers, you could bet I wouldn't get a golden parachute.