They are regulated by regional professional boards with reciprocity. For example, the American Bureau of Shipping in North America. This concept is called a Classification Society
https://en.m.wikipedia.org/wiki/Ship_classification_society
They are unlikely to skimp on this due to the insurance implications.