Not much of a plot hole. Judas betrayed for greed. He fulfilled the resurrection through his evil, which does not make him good. In any random Hollywood movie, the villain would not be redeemed by accidentally helping the hero in the course of their schemes.