If this is a D&D setting, then it's functionally no different than any of those other examples, and the quirks of the setting aren't changed.
If those other things can "bring the pain", and someone does something "against their interest", then the ways the DM deals with that situation are no different regardless of whether it's epic wizard, ancient dragon, or an "earthbound" deity.
Epic is epic.