The veterinary laboratories of the world are often quite good or even excellent. The determining factor for a food product to be accepted into international trade agreements, it must pass rigorous standards or the entire country may be denied the export of food products.
Even with these constraints and controls, large industrialized countries like the US may have tolerances which are too low. Whether quality is rated by nutritional value or simply the lack of pathogenic microbes, even high-tech labs can authorize food shipment. and expedite sales abroad. Receiving nations do their own spot-checks but to a high degree, we rest assured the country of origin is analyzing to some, specified level of sanitary quality.