Regardless of how unwise or immature his actions were, the company should not have treated him the way they did.