I think the general view was JP II issued an ex-cathedra statement, but formally did not excerise it, so it may rise to an infallible statement.
By Cardinal Ratszigner…Responsum ad Dubium
October 28, 1995
Concerning the Teaching Contained in Ordinatio Sacerdotalis
Congregation for the Doctrine of the Faith
Dubium: Whether the teaching that the Church has no authority whatsoever to confer priestly ordination on women, which is presented in the Apostolic Letter Ordinatio Sacerdotalis to be held definitively, is to be understood as belonging to the deposit of faith. Responsum: In the affirmative.
This teaching requires definitive assent, since, founded on the written Word of God, and from the beginning constantly preserved and applied in the Tradition of the Church, it has been set forth infallibly by the ordinary and universal Magisterium (cf. Second Vatican Council, Dogmatic Constitution on the Church Lumen Gentium 25, 2). Thus, in the present circumstances, the Roman Pontiff, exercising his proper office of confirming the brethren (cf. Lk 22:32Open in Logos Bible Software (if available)), has handed on this same teaching by a formal declaration, explicitly stating what is to be held always, everywhere, and by all, as belonging to the deposit of the faith.
Concerning the CDF Reply
Regarding Ordinatio Sacerdotalis
Joseph Cardinal Ratzinger
Prefect, Congregation for the Doctrine of the Faith
The Pope’s intervention was necessary not simply to reiterate the validity of a discipline observed in the Church from the beginning, but to confirm a doctrine “preserved by the constant and universal Tradition of the Church and firmly taught by the Magisterium in its more recent documents,” which “pertains to the Church’s divine consitution itself” (n. 4). In this way, the Holy Father intended to make clear that the teaching that priestly ordination is to be reserved solely to men could not be considered “open to debate” and neither could one attribute to the decision of the Church “a merely disciplinary force” (ibid).