This same pattern of lace had decorated French uniforms before the French Revolution began in 1789. The Bourbon kings of Spain were a branch of the French royal family, and adopted a similar livery.
This same pattern of lace had adorned French military attire prior to the outbreak of the French Revolution in 1789. The Bourbon monarchs of Spain, being a subset of the French royal lineage, subsequently emulated a comparable livery.