aquinas ethicus: or, the moral teaching of st. thomas.
p. 151
it is enough that the person says what he intends to do, because that is true at the time in his case, or in the purpose of the doer. But an oath ought not to come in except upon a matter on which the person's mind is immovably made up. And therefore if an oath is used, then for reverence of the witness of God that is invoked, the man is bound to make true what he has sworn to, to the best of his power, unless the issue is for the worse.
§ 2. An oath may issue for the worse in two ways. In one way from the beginning, either because the oath is of itself evil, as when one swears to commit adultery; or because it is an obstacle to greater good, as when one swears not to enter the religious or the ecclesiastical state, or not to accept a prelacy in a case where it is expedient to accept it. An oath of this kind is unlawful from the beginning. That however it may be in different ways. In the case of a person swearing to commit a sin, he sinned in swearing, and he sins in keeping the oath. But if a person swears not to do that which is the better good, good however which he is not bound to do, he sins, to be sure, in swearing, inasmuch as he places an obstacle to the Holy Ghost, the inspirer of good purposes, but he does not sin in keeping the oath, though he does much better not to keep it. In another way an oath has issue for the worse on account of something fresh that comes up unforeseen. Thus Herod's oath to give
Absolutely, such an oath is an obstacle to greater good. In a particular case it is not, especially when taken to a public authority, who can release you where he sees cause. (Trl.)