If a person required by AS 32.11.040 to execute a certificate fails or refuses to do so, a person who is adversely affected by the failure or refusal may petition the superior court to direct the execution of the certificate. If the court finds that it is proper for the certificate to be executed and that a person so designated has failed or refused to execute the certificate, it shall order the department to record an appropriate certificate.