Ships or aircraft under commission from His Majesty or any foreign State having on board any goods other than ship's or aircraft's stores laden in a place outside Australia or in Australia may be boarded and searched by the Comptroller - General of Customs or an authorised officer in the same manner as other ships or aircraft, and the Comptroller - General of Customs or the authorised officer may secure any such goods and for that purpose bring them ashore.