The state department shall provide places of shelter as authorized by law for the placement of children for temporary care who have been brought into the custody of the magistrate courts or who have been taken into custody for their protection by peace officers. Such places of shelter may be maintained by the state department or may be licensed foster family homes or licensed foster institutional facilities employed or retained for shelter care by the state department.
Idaho Code § 56-204B