I think that agent gave you misinformation. Leaving that aside, you should think about getting a seat for your nearly two-year old. More comfortable for everyone involved.
If you were flying domestically, you'd probably be able to get through by saying the child was under two, but they'll have a passport won't they? So, yes, they absolutely will know that the child is 2 and needs a seat.