Agreement reached over islands' native title