The books we know as “the Gospels” are only known as “the Gospels” because the Magisterium (acting by the inspiration of the Holy Spirit) defined them as Scripture. The events depicted in the Gospels did occur, of course but they would not have been included in the Bible had they not been made part of Scripture by the inspired decision of the Magisterium. The Magsterium assembled and defined the body of Scripture by the inspiration of the Holy Spirit. No Magisterium = no Bible.
God even used Ramses to accomplish His purposes. I'm sure He used the magisterium likewise. That in no way translates into any authority beyond the scriptures to that body any more than God's use of Ramses translated futher authorty to that person.
Oh I don't know. I tend to think God would have made sure we had His word regardless, don't you?