The definition of get_accessible_base_classes has a weird definition that may be rather unnatural for implementations. In particular, when called in friend of a base class of the class reflected upon by the argument, get_accessible_base_classes will consider that base class accessible.