Perhaps Emily is not the person you think she is. Not to insult your friend, but sometimes dogs have more sense than we do. She may have been privately mean to him or he may have not liked her restraining him! Or he could just have a bad feeling about her!
I had a boyfriend that my dog acted friendly to. Yet, one night he was over while I was getting dressed to go out. My bed was unmade, (dog likes it that way) well he made it for me, tucked it in nice & came to see if I was ready yet. Well, my perfectly trained poodle - POOPED ALL OVER THE BED! She stayed away whenever he was near.
She was right he ended up beating me!!
My message is, it's wisest to listen to our furry friends!!!!!!!!! Good Luck