If the application is contested the court shall make findings, conclusions, and judgment as in any civil action tried to the court. If there is no contest the court shall by its judgment establish the instrument or record or the parts thereof in accordance with the application and the proof adduced and the instrument or record as so established shall be incorporated in the judgment as a part thereof or as an exhibit thereto, and thereafter the same shall be of the same legal force and effect as the original instrument or record.
SDCL 21-38-11