Realistically speaking, there's a good chance the affair probably happened first, and then the MSS got involved second.
Even the most powerful people can be really dumb.