Anyone who has attended the Royal Ascot knows that the rules are strict when it comes to dress code.