The correct response is:
It turned public opinion against France.
The XYZ Affair, which involved a diplomatic incident between the United States and France in the late 1790s, led to heightened tensions and a shift in public sentiment against France at that time.