The death of Christ was necessary because a ransom had to be paid. There are other reasons.
If we are free to choose one might not choose Christ because of the heavy influence of an atheist. In other words the atheist kept the person from receiving eternal life.
I was a serious, confirmed atheist when I reached out to Jesus for healing while in the hospital. He healed me then and there and I have been a very serious Christian ever since.