Imposed by the world community (employing force if necessary).
I can see a co-ordinated military action that would have numerous Western powers “softening up” occupied Palestine with fighter jets and missles to enforce this de-colonization action.
Occupied Palestine might look like Gaza does presently, but hey, you cannot make an omelet without cracking some eggs.