Because he literally transformed from Spider-Man
Ok this one needs a little explanation. In the first version of Revenge of Shinobi, you actually have a boss fight against Spider-Man AND Batman. When you beat Spider-Man he actually transforms into Batman. Sound crazy? Check it out for yourself.
This was obviously changed in the second version of the game but that's crazy, eh?