If you took part in burying a man whom you believed to be righteous, and then, three days later, the rumour spreads that the guy has risen from the dead as he said he would, and the grave is demonstrably empty, what would you do and think?
I don't think there's any way Nicodemus could not have...