As far as I remember from RTW, it is hardcoded. The non-destructible lands are all tagged as 'hinterland', which means they show up / change the campaign map as they are built, and this process doesn't seem to be reversible, thus they can't be destroyed.