I'm pretty sure it's: If you capture a city with a faction building, then destroy it (razing the building or the entire city), you can then build it again elsewhere even if you already have one. But you can't build the same building in the same city multiple times.