The dress that Kayley is wearing during her and Garret's knighting ceremony is a completed version of the one that her mother was trying to get her to wear in the beginning of the movie - the one that Kayley refused to wear.
Was originally intended to be darker and more faithful in tone to the original book, however, more songs, characters and family-friendly gags were added to tone down the content.