When my kids were younger and there was some mean girl activity that was trying to make them accomplices I told them they could always put the blame on me in a situation like that. “My Mom says I’m not allowed to exclude anybody from this kickball game”, etc. Of course that wouldn’t work at later ages but it gave them some practice in turning aside the pressure of the meanies.