Well, you have to apply common sense here - if you see a friend in the enemy team, decide to hug him and then go in opposite directions, that's not THAT harmful. Unless you're last 2 players remaining
If you're 4 players in team A and 3 players in team B and you group together, don't fight and start doing stuff together, that's a bit more naughty
If you're
actively helping a friend from enemy team, as in, during a fight you avoid hitting him or you hit your teammate on purpouse, then you could get in trouble BUT AGAIN, it all depends on the situation, who does it, why do they do it, and shit like that.