One of the most dangerous men in the world vs one of the smartest men in the world.
And the title applies to both - Bruce is one of the most dangerous as well as being one of the smartest, as is Tony.
The answer to your question of ‘can Batman beat Ironman’ is a definite yes.
As is the opposite question.