If razing the city that the UN is in is too much of a problem, and you don't mind technically cheating, you could probably use WorldBuilder. I assume just removing the UN would allow another civ to rebuild it. However, you could add a barbarian city, move the UN there, and then raze it and that should do the job.