In Germany, there are certain kinds of questions that are not permissible on an employment questionnaire, for example asking whether a candidate is pregnant or plans on having children, union affiliation, etc. However, these questions are often included in the questionnaire and not answering them would provide sufficient signal to the employer and the only remedy would be to sue the employer. So it's explictly permitted to lie in the answer, rendering the questions useless.
I expect a similar line of reasoning applying to this case: The question is about a protected, legal activity which is nonetheless undesirable for certain employers. Asking the question and requiring a truthful answer would undermine the protected, legal activity. Hence an effective remedy is explicitly allowing to lie in the response.