Personally, I don't intend for the player to be required to interact with every NPC, but rather make every NPC feel as "alive" as possible, that the player can interact with if they so chose. Random bits of game world lore, various side quests, various services, even odd bits of humor serving to add variety to the NPCs.
Depends upon the farmer, chef, or weapon store owner. Personally I don't see NPCs as being "unimportant" simply because they aren't providing quests. Everything about them tells the player about the world they are interacting with.
I find Mass Effect's & Dragon Age's use of "trees with human faces" to be something of a mark against the series.
As for "needing to justify it", I see no need to justify it. I make the best game that I capable of making, I need no other justification.
Furthermore, just because something isn't "necessary" for the game, doesn't mean that the game isn't enriched by doing so. A weather system or day & night cycle isn't necessary for my game, anymore than a game like Skyrim; yet I include it for the sake of enriching my game, likely for similar reasons that it is included in a game like Skyrim. The same is true with the work I put into developing in game world lore, or NPC dialogues.
I'll try to keep my responses in order here:
The way I see it, your goal is to make the world feel "alive". Immersion is fantastic and world-building really helps a fantasy world feel more "real" so the player gets more invested. It's just that there are other ways to accomplish this goal just fine. World lore is great but the delivery of said lore is extremely important.
It doesn't matter how deep your setting is; if every fact is said directly to the player by a walking information kiosk it will fall flat for many players. A system where all dialogue involves the player going up to someone and selecting topic after topic to talk about until they get bored won't hook players because there is no real meaning or context to the information they are receiving and thus the player loses immersion.
You know what's really realistic? Having some people just not interested in talking to you. It's actually just plain weird that every single person in a game is willing to just drop everything they are doing to immediately answer all of the player's inane questions like a brain-trauma victim. In many ways, NPCs that say 1 line and refuse to initiate a longer conversation or NPCs that are talking to each other and not about to stop their conversation just for the player is far more immersive. It's not just that deep interactions with every NPC is unnecessary, it's also that it's really NON-immersive for every person to drop what they are doing to tell you idle local lore. Every single peasant in your game should not also be moonlighting for their village's tourism association.
There are sooo many other ways to get all of this information to the player. You can show the farmer and his wife are in a strained relationship by putting notes all through their house that show those notes are the only way they communicate anymore. A note by the bed written by a man desperately asking his wife why she won't talk to him anymore says more than an entire conversation could. Suddenly the farmer's line saying he's so happy the player dropped by to look over his produce takes on all kinds of new meaning.
If you're looking for a game absolutely dripping with atmosphere, look at
Bioshock. The player character is a mute FPS protagonist yet the game is renowned for incredible world-building and touching little stories scattered throughout Rapture. These stories are mostly told in the form of audio logs that the player can picked up and listen to, but other games achieve this effect through notes and diaries. Some of the best parts of games like
Skyrim and
Oblivion are all of the little things lying around for the player to find. Like the NPC in
Oblivion that gets out of the bed he shares with his wife and leaves his house in the dead of night 2 nights a week to go to another woman's house and gets into her bed. It's not part of a quest or anything and no line of dialogue ever reveals it; it can only be found by players that see him walking around at night and choosing to follow him to see what he's doing...or players that are robbing his mistress and are surprised to find him there.
Nothing in any dialogue tree will ever compete with that level of immersion.
"Trees with human faces" makes me think of NPCs that are nothing but a dialogue tree attached to a human-shaped NPC. I assume you are referring to the mostly non-interactive NPCs that you can't talk to or that only say 1 line.
Well calling it a "mark against the series" is massively unfair. Games made by professional studios have deadlines and budgets to work with. That's where decisions of "is this really necessary" start to come into play. A dev working in their spare time can take as long as they want to get every single aspect of the game exactly as they like it...a professional dev with a boss forcing a Christmas release on them does not have that luxury. Ultimately you HAVE to put your effort where it actually matters most or you will never finish.
I can see a very good reason that you, or anyone really, would "need to justify it". Work takes time. Time spent adding more and more dialogue to NPCs that don't actually matter is time not spent on bug testing, balance testing, adding actual gameplay content, or making all of the art assets. If your goal is just to see if you can make a game where every single NPC has a Tolstoy novel's worth of personalized dialogue, then by all means go for it. If your goal is to create a game that players enjoy playing, then you really do need to consider if the player will actually enjoy spending such a huge amount of time just talking to NPCs that aren't even plot/quest important.
Writing for a game is like writing a book. There are only so many characters a player can become invested in, so be sure that your best development goes to the characters that are actually relevant and then round-out the side characters. Every story has extras and the trap that a lot of writers fall into is that most people would assume that a character with a lot of focus is going to be important. If a character talks a bit more than other NPCs it is a hint that they will be used for a quest at some point or may have a role in the plot later on; you can also rely on players remembering these characters so they will have an idea where to look around when a quest tells them to find X and ask about Y. Being able to interact with everyone at roughly the same level will make it hard to "bookmark" important characters. In short: The girl selling flowers that only has 2 alternating lines is not important. The girl selling flowers that goes up to the spikey-haired protagonist and has more lines is your next party member.
It isn't about avoiding "unnecessary" things, it's about having a firm grasp of what
is necessary and making sure that extra things don't get in the way. A day/night cycle can actually be necessary for gameplay purposes because it enables "day" events and behaviors and "night" events and behaviors so the player has different tasks to do at different times of day. A weather system is probably not necessary and should only be bothered with if time and resources allow it. Again,
creating world lore and giving all of your NPCs stories is fine - but is telling all of those stories through dialogue trees really the way you want to present that information to the player?