Obviously, this can be an uncomfortable and damaging situation for the applicant, who may not have informed his employing institution that he or she has applied for a position elsewhere.
Moreover, if the applicant does not get the job offer or refuses the job offer, the fact that he or she has applied for another position remains.