Confirming the bug.
Outpost should not be razed, since they provide now bonuses to army there is a reason why you want to keep them close to a city.
There is generally problem with borders, and it is a loooong time problem. They do not calculate well, for instance, you can build the city right next to AI' borders and they will not move an inch, but if they build anything close to your border than you are in big troubles.