Yes that's true but to avoid things like this completely is why the company does not want it in the first place. This could lead to the company loosing good hands most of the times.There is nothing wrong in it but one of them should resign as you have stated in order to avoid distractions..