Ultimately it is the cabin crew manager at fault. They have had the opportunity to use their discretion and they have chosen not to. Sure, the junior crew member should really consider if this is the route he/she wants to take considering both social and professional implications but the action taken against the purser wasn't in their hands, it was in the managers.