I don't know if this is recent bug or it was there all the time, I haven't played for a long time. It's not even a bug, more like oversight.
If you "use" a unit that's killed in process (settler, GP, priest, etc) and it has Immortal promotion, it gets resurrected in capital.