Although it can’t be proved, the ballad ‘Spanish ladies’ was probably from the Napoleonic era. It would have been sung by sailors in the Royal Navy and by British soldiers in France.
After the Napoleonic Victory, these sailors and soldiers were returned to Britain but forbidden to bring their Spanish wives, lovers, and children with them.