Yes, but it wasn’t a goof. The portion of VII that teaches incorrectly about Islam is part and parcel of its New Religion of False Ecumenism.
Oh, I agree it was completely intentional on the part of Rome.
Sometimes I use the word “goof” and “jerk” interchangeably.., as in the sentence:
“I don’t know who was a bigger heretic: the jerk Paul VI or the goof John XXIII.”