Fail on four counts (at least)
Fail because it's plain wrong. And because some of the attendees rightly felt to have been offended, insulted and undermined by this sexism.
Fail because they were too stupid to see that this was going to cause (even more) reputational damage.
Fail because there was no way that they could expect to keep that sort of stupidity under cover.