Figuring out what's wrong with the sentence
Solution 1:
There should be a comma after "Castle" which clearly seperates the phrase "with the King by her side". The comma after "by her side" clearly indicates that it is the Queen that is wearing the 'hand-sewn' dress.