International law requires that every merchant ship be registered in a country, called its flag state.[51] A ship's flag state exercises regulatory control over the vessel and is required to inspect it regularly, certify the ship's equipment and crew, and issue safety and pollution prevention documents.