It's also possible that he's having the memories of all the previous Masters Twice killed? It would explain the Dan flashback and stuff
But Rin says Saber and her previous Master killed Julius, Saber said her previous Master was a girl, we saw HAKUNO seeing himself killing Julius, and Julius knows the name Kishinami Hakuno.... so I'm still feeling the previous theory personally, or a combination of both