What definition of inerrant are you assuming in the OP? This one?
The "doctrine of the inerrancy of scripture"[7] held by the Catholic Church, as expressed by the Second Vatican Council, is that "the books of Scripture must be acknowledged as teaching solidly, faithfully and without error that truth which God wanted put into sacred writings for the sake of salvation."[8]
The "doctrine of the inerrancy of scripture"[7] held by the Catholic Church, as expressed by the Second Vatican Council, is that "the books of Scripture must be acknowledged as teaching solidly, faithfully and without error that truth which God wanted put into sacred writings for the sake of salvation."[8]