Eventually an agreement was struck whereby the islands and their inhabitants remained Australian, but the maritime boundary between Australia and Papua New Guinea runs through the centre of the strait.