They did not forbid cooked wine a non-Jew touched because of mar'it ayin, since the touch is not recognizable when one drinks. As the Shulchan Aruch wrote of a ben pekuah, what is not so recognizable was not forbidden. But wine of a non-Jew that was cooked, or wine touched and then cooked, remains forbidden.