I took that as "society tells you to be one way but you can do what you want!" sorta statement.
Not offensively.
How willfully ignorant do you have to be to read it that way? He specifically excluded the girls and told them to sit down while he spoke to the boys about how girls are meant to be quiet but they (the boys, who he was speaking to) can do whatever they want.