Currently the only way to ignore the devEngines check is to use the --force flag: https://github.com/npm/cli/blob/d006583e20731e8ae55cee94c3b7bd23cbd6f2d0/lib/base-cmd.js#L174
But that flag makes npm print a warning and also changes other things.
pnpm is passing through some commands to npm CLI (like dist-tag, publish, view, etc). So, we want to be able to run npm from pnpm, even if devEngines is set to pnpm only. Alternatively, we could recommend users to put both npm and pnpm to devEngines but then they might accidentally run "npm install" instead of "pnpm install".
Maybe you could add support for an environment variable that pnpm could set, when running npm CLI.