Actually, there is no absolute boundary between immortals and demons!
Demons are a species.
Immortals, on the other hand, are a status!
How can there be a clear boundary between species and status?
In ancient times, the founding of the Heavenly Court was actually established by the Demon Clan. It was only after the great war between the Shamans and the Demons, when the Demon Clan declined, that the new Heavenly Court came into being!
In addition, after the great calamity of deification, countless members of the Demon Clan were on the Investiture of the Gods, filling the positions in the Heavenly Court.
So many of the immortals in the heavens were actually members of the Demon Clan.
For example, the Kuimu Wolf, one of the twenty-eight star abodes that Jiang Liu and the others met before, was originally a member of the Demon Clan!