Generally speaking, all the DD platforms get their own set of keys, and retail keys (unless the game uses Steamworks or Goo) and especially for old games, aren't recognized by the DD clients. So, basically, you can't convince Steam that you have the game because you can't get it to recognize the key.
On top of that, Steam uses its own directories for games, sometimes has separate Steam-only patches, and in a few occasions mods for games have not worked with a Steam version of the game. Considering that Medieval 2: Total War is a fairly old game, I would guess the chances are not insignificant that if you did get Steam to recognize it, the expansion and the original retail copy wouldn't mix.