Flag states have tried to undermine the system for weeding out substandard tonnage by cutting secret deals with port inspectors to stop their ships from being detained.

Several attempts were made in the past year within the European and north Atlantic region to subvert a system designed to be the second line of defence against poorly maintained and unsafe shipping, according to a senior official.