It does basically fit into the plot, which has several game theory situations like this. Luo Ji is a hedonist and isn't invested in saving the world. By following his desires, the Wallfacer program gives him a family that they can take away. So as a result, Luo Ji is forced to actually care about winning and the Trisolarans don't know what to think, er, say, about what's really going on.