I set up an outpost (there were still 2 moves left for it to be built) and tried to build a city as a settler on the same territory, but I couldn't. Then he looted the outpost and it began to be built indefinitely.