It is only my opinion and this is usually what I will do if I ever do. Also, I think that you are right that you can never make friends throught work place due to the potential conflict of interest.
But, you always can defend yourself by keeping quiet.
BTW, I think that your friend is an idiot by doing this without asking you....