Popes are human, and therefore sinners and subject to error just like the rest of us mere mortals.
The Church has the right to make up its own rules, rituals, dogmas, and traditions.
But NO Church has the right to rewrite history or to rewrite the Bible IMHO.
Yet, you seem to reserve the right to deny the above mentioned dogmas.
Unless you’re Luther and then you can toss out 7 books of the Old Testament and add words to scripture (only in Romans 3:20; Romans 4:15, alone in Romans 3:28). Also, the early Protestants, including Luther believed in the perpetual virginity of Mary. “Christ . . . was the only Son of Mary, and the Virgin Mary bore no children besides Him . . . I am inclined to agree with those who declare that ‘brothers’ really mean ‘cousins’ here, for Holy Writ and the Jews always call cousins brothers.”