Whats in a name ?
Its all very simple.
In UK one can change their name, for any reason they wish, thus one is not obliged to have any particular name in their passport.
I changed my first name and surname 30 years ago. I did it under Common Law. That meant all I had to do is say I had changed it. No legal paperwork at all, no fees.
When I next applied for a passport I submitted my birth cert, in my birth name (that can never be changed) and the person who countersigned my passport, in my case a police officer, merely added that he had known me for x years and that as of x/xx/1989 I had changed my name to John Carrington.
The new passport showed only that name.
Many years earlier when I married in UK, my wife had, all her life, been called Maura Tresa, which was different from her Birth cert. Mary Theresa. In the application for the marriage cert. I registered my wife in the name she was known by i.e. Maura Tresa. Her passport was subsequently applied for and issued in that name.
It is a common misunderstanding in UK that a woman must change her surname to that of her husband's on marriage. Again that is not so. Mary Brown can still be Mary Brown after she is marries Mr Green. Their children could Bill Brown and Lisa Green.
Incidentally in Spain a women does not and cannot Change her name on Marriage. Their children have the double surname, the first surname of her husband, the second the mothers' first surname thus,
Juan Dias Moreno marries Elena Gonzales Morales.
Their children surnames are Dias Gonzales.