5SWhere the circumstance by virtue of which a resolution under the said section 16 ceases to have effect is that mentioned in sub-paragraph (c) of paragraph 4 above, the appropriate parental rights and responsibilities (defined as mentioned in paragraph 3 above) in relation to the child shall transfer forthwith to the local authority in whose area he resides; and for the purposes of sections 86(6) and 87 to 89 of this Act the transfer shall be deemed effected by a parental responsibilities order applied for by that authority.