tourist attraction is a former royal palace and prison .