Guessing they probably just ran some rudimentary OCR on the image to compare the name and DOB. I modified the actual license# as well as the picture.
Not having a correct photo or license number didn't really mean anything to them if their OCR didn't have any half-decent verification that would look at the fields where that information was expected to be, anyway.