In case someone is curious about the history, this specific castle was not built for defense or use by royals, but for use by the bishop of Finland. During its heyday the bishop held major power in the eastern province of Sweden, and the castle was similarly lavish to represent the power of the church.
The castle was sacked and mostly torn down during the reformation of the church, when Sweden switched from Catholicism to a Lutheran church.