The carrier has the right to prevent anyone boarding that they do not wish to carry and may remove anyone they do not wish to carry and do not have to give an explanation.
Ergo, if they recognise the name and can verify with passport or similar ID number, then they could decline or return the booking.