According to lovely lovely Bucknell, it's all about the two parts of the sentence governing different cases:
http://www.alphadictionary.com/rusgrammar/tk.html