Scotland is full of spectacular castles. So when you see this beautiful structure overlooking the city, you immediately assume it has medieval origins and makes a wonderful tourist attraction. Wrong on both counts. It was built during the mid-19th century as the County Hall, courthouse and jail. It is not open for public tours.