The court may, on motion of either party and on showing of reasonable grounds thereof, require the attorney for the adverse party or for any one of the several adverse parties to produce or prove by his oath or otherwise the authority under which he appears and until he does so, may stay all proceedings by him on behalf of the parties for whom he assumes to appear.
NMS § 36-2-12