The court may appoint a surveyor to run lines and make plans of lands demanded in a real or mixed action, or in an action in which the title to land is involved, as shown by the pleadings filed, on motion of either party. If he is prevented by force, menaces or fear from performing the duties assigned him, the court may issue a warrant to the sheriff, commanding him with suitable aid to prevent such opposition. In the execution of such warrant, he may exercise all the power pertaining to his office. All persons refusing their aid when called for by him are liable to the same penalties as in like cases.
14 M.R.S. § 6851