And Jesus said, "for I did not come to judge the world, but to save the world." -- John 12:47
Three chapters later...we change the reason He came into this world.
I don't see a real contradiction there. One is the role Jesus plays and one is the basis for judgment.
The ultimate judgement of mankind is not yet. Jesus came the first time to be that sacrifice, not to be the judge. Later in history we see him as judge. Because Jesus came into the world and the world received him not, it was for judgement that He came. Yet, he will not physically pronounce the ultimate judgment on mankind until later on in history.