the castle serves as a medieval fortress