Auto-translated
What makes you think that heroes freed from the dungeon are not the last ones to level up?
And it's not about leveling up a hero or freeing them from the dungeon... When the rules were written, the ban was introduced to prevent people from cheating after battles... because there were suggestions to delete skeletons after the battle, but since it's very difficult to check, a complete ban was introduced.