Why is he your friend? I mean for fuck sake you're letting him do exactly what he wants. You need to be more assertive, explain the situation 'clearly' to your gf about what he has done. Tell him that if he does anything he'll regret it. And if he does back that up.