Rules of court, not inconsistent with any law, may authorize the probation service to interview such persons and obtain such data as will aid the court in determining a habeas corpus or custody proceeding under section six hundred fifty-one.
N.Y. Family Court Law § 653