Theologians distinguished between these authorities (what's at issue is the Pope, and not just any authority) as PRIVATE PERSONS vs. acting in their official capacity.
To assert that Montini was acting as a private person in promulgating the NOM is the height of absurdity.
Note this quote from Miser, above, which opposes the Pope acting as a PRIVATE PERSON with the Pope acting INFALLIBLY. This is how I have seen it used elsewhere. This is why Archbishop Lefebvre says we must examine in all these promulgations, like the NOM, to what extent the Pope willed to engage his infallibility:
If the Pope should happen to fall into heresy, he is no longer a member of the Church, much less its head.
It is understood that the Pope cannot be guilty of heresy when he speaks infallibly ex cathedra. The supposition is only possible should the Pope teach heretical doctrine in a private capacity. (that is, when teaching not
ex cathedra - my addition)
(Rev. Matthew Ramstein, A Manual of Canon Law [Hoboken, NJ: Terminal Printing & Publishing Co., 1948], p. 193)