If I read correctly, Maxos sealed him in because he's an annoying... um...Bellegar, and the demons were already there, so five birds with one stone.
I expect that later content will not acknowledge that you killed him, so there you go. Roll the bones, as our new Laureate just said.
(Though to balance the structure, it should be said twice.)