42-4-29. [Refusing entry; court may exclude evidence, render judgment or assist entry; costs.]
If such person or corporation shall not permit any party in interest in such suit or action, to go upon or enter said mine, as contemplated in the preceding sections [42-4-26, 42-4-27, 42-4-28 NMSA 1978], after having been notified in the manner designated, the court may, upon proper showing, verified by affidavit, or otherwise, exclude all evidence offered on the trial by the party so refusing, or render judgment or decree in favor of the party giving such notice: provided, that the court may, in its discretion, make an order directing the sheriff to go upon the ground with the party applying for the measurement and survey of such mine, and place the person so applying in possession, for the purpose of measuring and surveying the same, in which case the court may direct the payment of costs as may be just and proper.