Spidey got beaten unmasked, and humiliated by a single Shield agent, a while back, so how in the hell is he going to defeat the worlds greatest detective, a guy who's beat Superman and even the Hulk on occasion. I hate to use the prep time thing, but that is Batman. You give the guy some time, he's bound to find a way to beat you (Not the worlds greatest detective for nothing) Peter's identity is currently public, thats a huge advantage for Bats there. As well he's currently wearing an electronic suit, another advantage for Bats.
Would this ever happen?
Obviously not, you can't have one of the most popular hero of all time losing to the others competitor, however, isn't it just a little bit plausible that a guy who's defeated the Man of Steel might have a chance at besting Spider-Man? Hmmmmm.......