Ottawa can't completely block long-term immigration detainee's lawsuit