Unlawful deprivation of liberty and the retrospective effect of AGNI: When the capacity requirement is not met

Following AGNI, has P (who has capacity to make decisions about care and residence) been deprived of her liberty for the purposes of making a human rights claim?