A Winning Strategy for Visa Cancellation Cases!

Suppose a person has had their visa cancelled on character grounds.
Suppose further that the person is owed protection obligations under the Refugees Convention, and therefore cannot be returned to his home country, or removed to a third country?
Is the person doomed to a period of indefinite detention?
...