Thomas Aquinas,
Summa Theologiae — Question 71 - OF INJUSTICE IN JUDGMENT ON THE PART OF COUNSEL…
“ It would seem that an advocate does not sin by defending an unjust cause. For just as a physician proves his skill by healing a desperate disease, so does an advocate prove his skill, if he can defend an unjust cause. Now a physician is praised if he heals a desperate malady. Therefore an advocate also commits no sin, but ought to be praised, if he defends an unjust cause. ”
