This, I think, is the fundamental basis of the plot = railroad fallacy.
If the GM is attempting to write a novel with the players as stand-ins for his own characters, then yes, "wrong" things are inevitable and railroading will be his recourse. Of course, this is a bad GM, and if he's not...