I think if anybody's to be commended for their principle it's probably the organisers? They have their dress code, he violated it, was warned, continued to violate it, and they enforced the rule despite his name.
You can't call a rule new, which is nagging them for nearly a decade now:
https://www.chess.com/news/view/dress-code-incident-at-world...