There was a woman in my college class. She was opinionated (inasmuch as she thought she knew everything, and her attitude towards other people's opinions stank). Nobody liked her, and I was about the only person who spoke up for her when there were major bitching sessions about her. Clearly, the way she was couldn't be altered by just ignoring her or being nasty.
On the other hand, having an open mind, asking why things happen, what might happen in other circumstances, laughing when you put an opinion across that appears to be false, adapting to other people's ideas, all these are lovely attributes and make a person willing to learn and interesting to be around. The world doesn't have to work the way that it works, there are other ways things could be done, and only individual thinkers bring about change and, hopefully, improvement.
I think possibly 'opinionated' is the wrong word. 'Inquisitive', perhaps, or maybe even 'humble enough to know you don't know everything, but very willing to learn'.
I'm such an idealist
And yes, my children do get into trouble at school. Some teachers love this kind of inquisitiveness, others hate it - so they are loved and hated. But aren't we all?