This behavior goes back to at least Photoshop 7. I remember logging a bug about this during CS2 timeframe but I seem to recall this was intentional for some sort of backward compatibility (actions/scripts). So, file under "Oddity/feature." Predates me.