One could ask if a joke about clerical vanity which insinuates something unmanly about it  does in fact constitute an act of stereotyping about gays and women. It probably should have been avoided in any case.