When you beat a "world boss" you're given no choice but to change ID which moves you to the next world, other than that it's mostly aesthetic other than one point halfway through where you must take the ID of a standard enemy to be able to continue.