Court gives Gazans right to settle in UK