_Apostolicae curae_is what you are thinking of, here. Which judgement involved not only the form used, in the Edwardine Ordinal, for consecration/ordination but the intertwined question of the sacramental intent of those who used it. Lots of history, personalities, theology and politics involved in that sad story.
Which history also shows that Cardinal Ratzinger was quite a late comer to the question. The definitive decision, from the RCC’s standpoint, with regard to Anglican orders (absolutely null and utterly void, were the words), occurred back in 1896. Lots of history involved, yep. Hobby of mine for many years.
And Anglicans, as you might expect. have their own opinion on the matter (and, as I always say, the intent and the form). But for the RCs in the audience, you got it right.