Sophie's relationship with Prince Edward led to a close bond with the late Queen, granting her unique privileges to stay at Buckingham Palace before their engagement announcement in 1998.