Mokara, are you having trouble replacing creature IDs in the castle with new ones? Are you changing the TownBuidingSharedStats settings for dwellings?
I have a similar problem, but with Creature Dwellings and Outposts. As far as I remember, Creature Dwellings can be "reconfigured" in the editor. But what about Outpost Guards?