It's no defense to a statute that imposes a sentence of 15-to-life for raping someone during a kidnapping that when you initially kidnapped them, you originally intended to murder them, and only thereafter decided to rape them instead.
Just proving that common sense -- and straightforward statutory interpretation -- sometimes prevails.