Every port state is permitted to check any ships docked in its ports without giving notice to establish whether the ships are in compliance with the applicable international agreements on occupational health and safety regulations which the port state has ratified.