‘Administrative error’ blamed after official papers referring to former prince were withheld from the National Archives