<font face="Verdana, Arial, Helvetica, sans-serif" size="2">That means you have officially entered Uruguay while still on the ground in Buenos Aires... </font>
Not as unusual as you think... flying to the USA from some (all?) Canadian airports you go through US immigration while on the ground in Canada (certainly the case at YOW, and I believe it's the same in ther places)