Let's just hope that the atmosphere in this department encourages people to respect each other and get the work done, and not the kind of place where page 3 of the Sun is shown around and discussed every morning. It's way too common for groups of men to get in the mode where they increase their status with their mates by how badly they treat women, but if this is a transfer within the same company, you must know something about what the place is like.
Well, it could be that sort of 'harmless', 'old-fashioned' sexism, which may not be too much of an issue? I don't know really but I used to work with people who'd make similar comments in what might be a vaguely similar workplace (lots of engineers, also lots of metallurgists/chemists). But I was a very young, very lowly data-entry-and-admin type, so it is obviously not the same. I suppose you might end up having to be a bit forceful about the fact you know your stuff? But then, you obviously demonstrated you do, or you'd not have been told you're the favourite.
I would mention that you are happy to work in a male orientated team,and that you grew up in a male environment.If you also have hobbies where there are plenty of men about,that might be worth a mention too. My DD has grown up in a male environment and I think this helped her to get the job she has.
And not all male dominated workplaces are as TeiTetua suggests - I've worked for several engineering design companies, with mostly men. There's usually very little page 3 type stuff on display.
The sexism I've come across at work is more the "mind your language in front of the ladies / Let me hold the door for you / You have the last chair in the meeting room" type stuff, so if anything, the men at work generally behave more respectfully towards the women in the office than they do towards the other men. (But maybe I've just been lucky!)