The answer is both! But so many of us are fixed only on one or the other. Therein is the problem of the modern Catholic Church, and so many modern Catholics.
A priest has apologized for “hurtful” remarks about Islam. But was he correct to reference Catholic “teaching” in his apology?