"Correct" is an imprecise term. Does it mean perfect? An infallible statement is not guaranteed to be perfect.
Trick question: if infallibility extended to trigonometry, what is the lowest score the Pope could receive on a trig test? The correct answer is "zero": he could fail to answer every question.