How can there be three Yan kings in Zhang Jizhong's The Journey to the West?

Let's put the TV play aside. TV plays are all adapted, not allowed, and inconsistent with the original text.

According to the original records, the ten kings of the underworld are commonly called "ten generations of hades". Yan Luowang is just one of them, ranking fifth. The third, tenth, eleventh, fifty-eighth and ninety-seventh time, Pluto appeared.

The author Wu Cheng'en's description of the Journey to the West to hades should be inspired by Yulibao.