I was playing with my friends the other day when I sent a caravan to one of the capitals. They didn't have any units in the city, and when the caravan entered, I captured it. I don't think this has ever happened before. Is this a bug or it this intended?