when the attacker has a high enough number of nodes, he can trick other nodes into accepting the double spend transaction.
No, he can't. The minority of honest nodes, even if it's just one, will have valid copies of both transactions proving the double spend. And any nodes that don't report both transactions are obviously participating in a Sybil attack and would be added to a block list.