This is a specifically laid out condition in NEC. For 40A circuits, that are going to have to have an outlet put on them to plug in something like an oven that only needs a 40A circuit, what type of outlet would you attach to that? There is no 14-40 or 6-40. There just aren't any 40A outlet types. So the code officially says that the 50A outlet types are to be used on either 40 or 50 amp circuits.Not sure this is accurate. Maybe if you prominently label it as 40 amp max. Because as you say future users would expect it to have a 50 amp max. A normal 14-50 should be still a 50 amp.installation.
Never heard of an outlet not being able to draw the max allowed from it. Especially when it’s only a few feet from the panel.