Historic Scottish island castle wins the lottery