No mention in documents, no easy workaround, just an obscure Console message. A viable workaround is to abandon IOHID all together for CGEventTap. I'm not sure what the point of this is when 1) user explicitly allowed the app to grab keyboard inputs 2) OS disallows it *only* for internal keyboards?
If you have a fediverse account, you can quote this note from your own instance. Search https://bsky.brid.gy/convert/ap/at://did:plc:7kz5fuok6aeujssccwrbvroo/app.bsky.feed.post/3mfnmkjnpgc2t on your instance and quote it. (Note that quoting is not supported in Mastodon.)