Considering the Catholic Church also teaches that ecumenical councils are infallible, if you propose that Vatican II taught error, then you must also reject a church doctrine which predates that council.