doing what is morally right. not every rule is made to follow, in situations like these, it's best to do what benefits the person involved in a moralistic manner. it shouldn't specifically benefit them, however, but as long as what is morally right is being done, no harm can ever happen.
(you can change my answer a bit up to your liking!!!)