When a child is in the care of a local authority, the authority must provide the child with accommodation.