Meaning of と together with トラブルになる


> いじめの問題が起こったとき、学校が最初に調査をすると法律で決まっています。しかし、学校が調査をするとき、子どもの親など **と**
> トラブルになることが増えています。裁判になったことも５年で２０件以上ありました。  
>  When the problem of bullying occurs the law says that the school will
> investigate from the outset. However, when a school investigates, _the
> number of incidents where_ the children's parents _become troubled_ is
> increasing. There has also been over 20 裁判になったこと in _the last_ 5 years.

I'm not familiar with the word トラブル. Does トラブルになる mean "become inconvenienced"
or does it mean "get into trouble" i.e. displease someone?

I can't understand what the と in 子どもの親などと is doing. I think I must be
completely misunderstanding 子どもの親などとトラブルになること.

I'm guessing that 裁判になったこと (literally "thing that became a judgment") means
'prosecutions'. Is this a set phrase? Have I misunderstood?




とトラブルになる means "get into trouble with", so 子どもの親などとトラブルになること means "to get
into trouble with parents of children".

裁判になる means "to be put on trial". It means 'prosecutions' as you said.

If the subjects are added, it would be easy to understand. It is
しかし、学校が調査をするとき、(学校が)子どもの親などとトラブルになることが増えています。(そのトラブルが)裁判になったことも５年で２０件以上ありました。

I am translated this sentence as "However, when a school investigates, the
number of troubles between schools and parents of children are increasing. The
number of the troubles which was put on trial was over 20 in the last 5
years."




とトラブルになる means "get into trouble with", so 子どもの親などとトラブルになること means "to get
into trouble with parents of children".

裁判になる means "to be put on trial". It means 'prosecutions' as you said.

If the subjects are added, it would be easy to understand. It is
しかし、学校が調査をするとき、(学校が)子どもの親などとトラブルになることが増えています。(そのトラブルが)裁判になったことも５年で２０件以上ありました。

I am translated this sentence as "However, when a school investigates, the
number of troubles between schools and parents of children are increasing. The
number of the troubles which was put on trial was over 20 in the last 5
years."

