Former royal château built on the site of a 12th century castle, venue of the courtly upbringing of Charles IV