By the rule of double effect, an act that could foreseeably cause both good and bad effects was morally permissible if solely the good effect was intended (and did not result from the harmful one), and the act, itself good or neutral, was undertaken in a proportionally grave situation.

