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