If there are adverse and conflicting claimants to the money, or any part of it, to be paid as compensation for the property taken, the clerk or the judge on appeal may direct the money to be paid into the court by the condemnor, and may determine who is entitled to the same and direct to whom the same shall be paid, and may order a reference to ascertain the facts on which such determination and order are to be made.
N.C. Gen. Stat. § 40A-31