900-year-old castle has been lovingly restored