I can also tell you that the passport office doesn't check anything very well, at least in the US, as my name on my passport doesn't actually match the name on my birth cert or SSN paperwork. I guess I mis-wrote it when I filled it out originally, but now I have to deal with how to get it fixed. For renewals, they only have a "my name changed" field, not a "you messed it up", so I've been ineffective at correcting the issue for years now.