27. Any payment made by a local authority in accordance with section 17 or 24 of the Children Act 1989 or, as the case may be, section 12, 24 or 26 of the Social Work (Scotland) Act 1968 (provision of services for children and their families and advice and assistance to certain children).