The concept of "port state control" allows authorities to inspect foreign vessels entering their ports
https://www.mediafire.com/file/4x9menugu6lm2od/pdf-30109-55276.pdf/file
The concept of "port state control" allows authorities to inspect foreign vessels entering their ports, ensuring compliance with regulations in maritime shipping