alright so lets get this debate done with, first if we are considering Empire(warhammer) vs Middel-Earth then the answer is pretty simple, heavy artillery and gunners own all. now moving on to middle-earth vs medieval, if its early Europe then yea it could be a tie (if we are just talking about the western factions) if we include the easterlings then lets include the middle easterners too...yea middle-earth is toast if we include the vast Muslim armies considering they were more advanced and outnumbered the Europeans at the time.
now if its all of middle-earth was late medieval period then by that time the real world would have discovered gun powder and the same scenario as Warhammer vs Middle-Earth would have happened. so conclusion? real world beats middle-earth if we put them on equal ground.
lets imagine nazguls flying right towards the walls....and a 100 gunners shoot at the same time into the nazgul, that lizard would be turned to oat meal by the time it reached the ground.
same with just about anything else middle earth has to offer.
edit: if we are also going to include WoW....LOL PLAGUE OWNS ALL LOL (you have to play WoW to get that joke
)