Thomas Aquinas,
Summa Theologiae — Question 38 - OF CONTENTION…
“ Contention is complete and is a mortal sin when, in contending before a judge, a man gainsays the truth of justice, or in a disputation, intends to impugn the true doctrine. In this sense Catholics do not contend against heretics, but the reverse. But when, whether in court or in a disputation, it is incomplete, i.e. in respect of the acrimony of speech, it is not always a mortal sin. ”
