Except that Vatican I and Trent defined dogmas and as such were protected from error, on those points, by the charism of infallibility; whereas Vatican II specifically avoided defining dogmas, and therefore did not engage the extraordinary magisterium.
Pope Paul VI: "In view of the pastoral nature of the Council, it has avoided proclaiming in an extraordinary manner any dogma carrying the mark of infallibility.`` --Pope Paul VI, Audience of 12 January, 1966.
The difference between Vatican II, on the one hand, and Vatican I and Trent, on the other, is that the later defined infallible dogmas, whereas the former purposefully avoided the exercise of infallibility.