Upon death, even commoners have to register first with the proper heavenly authorities before they can be transported to heaven. It has been this way ever since the celestial court was established during the Han dynasty. Immortals have their place in the registry, as do spirits.
從漢朝建立了天上宮廷後，連凡人死後歸仙都須先至天界登記戶籍、接受管理，仙有籍，鬼有簿，天上世界象徵著宇宙秩序的森嚴。