This means the two persons must go to the sanctuary where Yahweh's presence dwells. At the sanctuary are priests and judges who have the authority to make legal decisions for Yahweh. (See: [[rc://en/ta/man/translate/figs-explicit]])
The phrase "stand before" is an idiom. It means to go to someone with authority and let him make a legal decision about a matter. (See: [[rc://en/ta/man/translate/figs-idiom]])