If Sanji was utterly unable of hitting Kalifa then his chances of hitting Black Maria are 0.
Like if Ulti tried to kill Nami I think Sanji would hit Ulti, but it's the way I remember it. Not sure how much canonicity there is.
His own life isn't englobed into the equation however. He would 100% prefer death.