My 12 year old son lives mainly with me during term time and with his mother during the holidays. I had him over to stay for a couple of days this week. He had two friends to stay over one boy and one girl both the same age as my son. They were fine for a couple of days then on the third day my son and his friend repeatedly called girl a btch and a Cunt, they threw stuff at her and knocked her phone, teased her about her boyfriend, threatened to throw water on her and invited her to come to the park but then secretly hid her shoes so she could not come. She asked me for help with them twice. It was awful behavior from my son, after initially telling him to be kind twice I ended up telling him off. I said that he would not be able to have friends over if he acted like that towards them, and I said that he could not have his boy friend to stay over again that night because of my friends behavior. I also drove the girl friend home and apologized to her for my son's behavior.
Did I take the right action?