50.—(1) Article 3 (children aged 16 or 17) is amended as follows.
(2) In paragraph (1) after “the Children Act 1989” insert “or, as the case may be, is not a category 2 young person within the meaning of section 104(2) of the Social Services and Well-being (Wales) Act 2014”.
(3) In paragraph (2) after “children in need)” insert “or, as the case may be, section 76 of the Social Services and Well-being (Wales) Act 2014 (accommodation for children without parents or who are lost or abandoned etc)”.