The Black Fox was a fox, or sometimes a wolf that was domesticated by humanity. When the time came for his family to die, he was ordered as their guardian spirit to guide them to the land of the dead by the celestial bureaucracy. However, he refused and instead guided his family to the land of paradise. This angered the celestial judges who decided the fate of souls upon their death, but the great spirit noticed that the black fox could notice things that observing celestial people could not. He was able to smell the karma of people and hand out judgements with impressive accuracy than the judgment department could.
The celestial bureaucracy called on the king of heaven to punish The Black Fox for what he had done, but instead he thought the fox was better suited for their job than the entire department which clogged up the celestial bureaucracy with countless paperwork and made biased decisions. He immediately fired the entire department of celestial judgment, and their building was expelled from the sky realm down to the underworld, where they were sent to be retired. The Black Fox was chosen as the new judge of souls, and people who were born were assigned with a shadow that could provide a clear image of their karma for when it was time to make a judgment, and those with good karma would be born into better lives or ascend further, while those with bad karma would be sent to correct it either through cleansing or punishment if their negative karma exceeded the threshold of what could be overlooked.
When the owls of the celestial realm looked through the department’s files, the celestial accountants were able to deduce that bribery and unreported income was rampant in the celestial bureaucracy. This caused the other gods to finally accept the actions of The Black Fox, and it was shown to them why the King of Heaven had decided to put him in charge of death.