There’s an interesting academic book called Climate Leviathan that investigates four different ways in which the governments of the world might evolve into a single global government as the climate crisis intensifies. Interesting read, but it deals with topics like this.