Re: Loving Protection
"Suppose a bodhisattva sees that a vicious robber intends to kill many people for the sake of wealth; or intends to harm virtuous shravakas, pratyekabuddhas, or bodhisattvas; or intends to do other things that will cause him to fall into the Uninterrupted hell. When seeing this, the bodhisattva will think, "If I kill that person, I will fall into the hells; if I do not kill him, he will commit crimes which will lead him to the Uninterrupted hell, where he will suffer greatly. I would rather kill him and fall to the hells myself than let him undergo great suffering in the Uninterrupted hell."
Then, deeply regretting the necessity for this action, and with a heart full of compassion, he will kill that person. In doing this, he does not violate the bodhisattva precepts; instead, he generates many merits."
Buddhism. Yogacarya Bhumi Shastra