Indeed; there's really complete version information (target interpreter version, game data version, GUI data version, room data version, etc etc) available in the game data file anyway. I hadn't thought about poking at the resources - my ScummVM engine detection just jumps straight to "searching for the game data in the binary" if it can't find a game file with a version in it, since that way I get the game name too. :-)
Note that here's also various pieces of (unused) code/structures for earlier runtime versions in the source code - probably very helpful for backwards-compatibility work.
It would be ideal if someday there would be a list of "target" games to test against, and that there be at least one for each interpreter version, but indeed you can just look at which interpreter was bundled (even if it isn't clear, you can just compare with the archived versions) without even needing to poke at the data.