You continue to analyze the morality of actions using the methods of Situation Ethics:

https://en.wikipedia.org/wiki/Situational_ethics


Situation ethics are not compatible with Catholic moral theology. From the Catechism:

1753 A good intention (for example, that of helping one's neighbor) does not make behavior that is intrinsically disordered, such as lying and calumny, good or just.

1754 .... Circumstances of themselves cannot change the moral quality of acts themselves; they can make neither good nor right an action that is in itself evil.

1756 It is therefore an error to judge the morality of human acts by considering only the intention that inspires them or the circumstances (environment, social pressure, duress or emergency, etc.) which supply their context. There are acts which, in and of themselves, independently of circumstances and intentions, are always gravely illicit by reason of their object; such as blasphemy and perjury, murder and adultery. ...