Norwegian castle built to defend the border against Sweden and prison of Thomas Leopold for over 30 years