Originally a sovereign's castle converted into a four-wing château, the last renovation in the rococo style took place after 1842