For the purposes of sections 24B, 24D and 24E, an entitled resident is a person whose sole or main residence is the security subjects (in whole or in part) and who is—
In this section—
"child" includes a stepchild and any person brought up, or treated, by both parties to the relationship as their child;
"family home" has the meaning given by section 135(1) of the Civil Partnership Act 2004;
"matrimonial home" has the meaning given by section 22 of the Matrimonial Homes (Family Protection) (Scotland) Act 1981;
"non-entitled civil partner" has the same meaning as "non-entitled partner" in section 101(1) of the Civil Partnership Act 2004;
"non-entitled spouse" has the meaning given by section 1 of the Matrimonial Homes (Family Protection) (Scotland) Act 1981.