The Nintendo folder on the SD card isn't just a bunch of files,
the Switch maintains some sort of file system.
If something gets corrupted (because of the writing process not completing), Nintendo draws the conclusion that everything must be corrupted.
The HB menu reads it's file from another location directly and doesn't use this Nintendo file system.
Therefore it will keep on working while Nintendo is complaining about the corrupted SD card.