It's not an unusual occurrence. Castles were built at defensible locations, and those locations tend not to just up and wander about. Sometimes it is unaffordable to demolish an old castle and build a newer one, or the old castle has historic/national/sentimental value, so you end up with newer...