Only 4 popes have said they have no authority, starting as recently as 1976 in response to the Anglican ordinations.  Before 1976, it was taken for granted.  See the dogmatic definition on the sacramental priesthood (Trent, 1563).  It does not specify that apostolic succession is contingent on masculinity.  The exclusively male priesthood is based on patriarchal anthropology (the patriarchal gender "binary").   The conflation of patriarchal gender ideology and sacramental theology can and will be overcome.  We shall see what happens between now and 3000 AD... :-)