Game-wise, all governments are the same exact buildings. The AI governments are the same ones that you build. The description and pictures are simply dependent upon whoever builds them. The effects depend upon whoever owns it. Other than that, any Type1 government is the same as any other Type1 government.

Keeping an AI government intact would be cheating in the EB system, however.

The crash comes when there are multiple government buildings. If there are multiple, the game will only let you repair the last one on the list. If there are multiple and you tear some down but not all, the game will think you tore them all down and when you try to repair any that remain, the game will get confused by the concept of repairing something that was just torn down. This is where you will get the crash.