Hello Martijn,
that will depend what you have set up in your Listener configuration (GUI: Network -> Listeners) that uses the LDAP Accept query in question. You can decide to either allow the mail in or to reject it with either a 4xx (softbounce) or 5xx (hardbounce) SMTP status code.
Regards,
Martin