G7 allows Australia to put its views: PM