If she has gone completely back to normal with no other 'accidents' then I think as Brainless says it was purely marking, was the other bitch, just coming in/out of season? Or you never know the visiting bitch may have had a stronger urine scent about her, which unsettled your girl. See what happens the next time, I hope it is a one off. Did you perhaps use a room spray or strong scent before your visitors came, it may be she needed to re-assert her own scent again.