You can validate PDF content using PDF/X criteria, and then save the PDF as a PDF/X-compliant file.
Preflight cannot modify conditions that make the conversion invalid. It provides only a list of those conditions.