If a child has been placed on probation or protective supervision by a juvenile court of another state which has adopted the Uniform Juvenile Court Act or a substantially similar law which includes provisions corresponding to this section, and the child is in this Commonwealth with or without the permission of that court, the probation officer of that court or other person designated by that court to supervise or take custody of the child has all the powers and privileges in this Commonwealth with respect to the child as given by this chapter to like officers or persons of this Commonwealth including the right of visitation, counseling, control, and direction, taking into custody, and returning to that state.