Question for both of you:
If Judas had repented just prior to selling Jesus out, A) would God have been happy or mad that he did, and B) would God's plans have been ruined/foiled simply because a man repented?
In other words: why do you assume that Judas was guaranteed to betray Christ?