Short answer: Yes.
Detailed answer, every city that has a wonder that gives a free building, does not give the free building to the conqueror of that city. Eg. No free Library if you capture a city which has the GL. You'll just take the GL. You may build a Library if you want afterwards, but it won't be free.