There are many settings that are ignored when set in a DLL. . and . There are plenty of others. Commenter 640k asks why these settings even exist for DLLs if they has no effect.
Because they are settings for PE modules in general.
If there were separate file formats for EXEs and DLLs, then there would have to be two different module ...