Adverb apparently but perhaps not actually

Bodiam Castle was ostensibly built to defend the area against French invasion, but its lovely structure and landscaping indicate that display was important as well as defense.