The real estate agent was caught in a compromising position