French court rules Gaza residents can get refugee status