Gospel of John: Who Has the Demon?

Each side insisted the other was of impure lineage, held in the sway of evil. Who was right?