I realized https://learn.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes#common-file-system-operations doesn't say This section applies only to virtualized apps.
so I guess this is an intended behavior for mediumIL
apps and I'm actually asking an XY question. I'll post a new one.