It’s such a weird idea to me that an interviewer would be hostile towards AI. Reminds me of my co-workers from the early-00s who claimed real engineers didn’t use Google.
If a candidate wants to use AI, why not allow them do it supervised and then ask more interesting follow up questions or throw a twist into the problem that AI will stumble on instead of copy/pasting solutions out of an answer book?