The flip side is that the expectation is not very high. The interviewer knows you're not working in a proper professional coding environment, so they don't expect proper professional code. They do expect you to be able to produce basic working code without those tools, and to think about the problem, which does not require tools.

>The interviewer knows you're not working in a proper professional coding environment, so they don't expect proper professional code

Everyone says this over the years, even before AI, and I've never felt it made the slightest difference in how they rate me.

FWIW, that's about where the bar is set with live coding exercises during a job interview. I've done this, both at a whiteboard, and online in a provided web sandbox.