Please no complaints that the scenario seems unlikely, but the question popped up in a discussion i have, and i try to understand, what would be correct from a catholic POV.
A rapes B. A is quickly sentenced to some years in prison. A also relapses into catholicism, repents, apologizes to B and tries to live as a good catholic, however much that is possible considering his crime.
B got pregnant from the rape. A and B live in a country and the rape also happened there with parental rights absolutely blind to how the child was conceived. Furthermore, there is also a right for the child to see its father and a vice-versa right, which both cannot be limited or forfeited as long as the father poses no threat to the child (which A certainly would not be, as he now tries to be a good catholic).
Due to the legal situation B wants to have an abortion, as in no way she can tolerate that the child would bring the risk that A interfers again in her life, for example by enforcing his right to see the child.
A receives this information and to convince B not to abort, offers her whatever promise she wants, that he will leave her and the child alone. But as these are just promises (A cannot forfeit his right to visit nor the childs right to see him permanently) and B doesn’t trust A, B still plans to abort the child.
A also cannot act prior birth in any way, that would meet the criteria of him being a threat to the child (so that the visitation rights are forfeited permanently), as he is imprisoned.
Hence, A offers B to commit suicide for permanently ensuring that the child’s existence is no threat for B, that A might again interfere in her life, if she promises not to abort; B is fine with that and promises not to abort the child if A is dead.
Is A sinning with this or is it a moral action, as A sacrifices his own life, to ensure the survival of his child?
On the one hand, suicide is a grave evil. On the other hand, A’s action might be considered to be similar to jumping on a grenade, to save someone else.