if it's not clear if it's ai, it's not the code this policy was targeting. this is so they don't have to waste time justifying removing the true ai slop.
if the code looks bad enough to be indistinguishable from ai slop, I don't think it matters that it was handwritten or not.
ai detectors are not good. may as well ask your magic 8 ball