The Edicts were more of a "don't mess with stuff" than a "go away." There was an alarm system built in. If gods returned and tipped the balance, then the Guardians were to reawaken Guthix who would "erase" Gielinor.
The more we learn about how 'effective' the edicts were the more I doubt Guthix.
His edicts that 'banished' gods from the world:
Zaros already left to save his spirit and managed to directly commune prior to guthix's demise.
Zamorak wandered down to Daemonheim and secluded himself just outside the world - seems like he had time to do this rather than an immediate booting out.
Armadyl had already left at the sorrow of his aviansies being dead.
Seren chose to explode herself instead of leave
Tumeken went to sleep rather than leaving.
Demi-gods and 'Factions of gods' were never blocked at all.
So basically he kicked out Sara and Bandos and that's about it. Everyone else left on their own or just stayed put.
Although tbh it seems they've done away with the whole punishment for violating the Edicts. I can't believe someone that planned to wiped the world clear if gods interfered would let himself die, knowing it would cause gods to return.
Let's all be honest. Jagex wanted to get rid of the Edicts as soon as they could. They were preventing prime content.