A person having or claiming title to or an interest in the property which is the subject of the petition may, at or prior to the hearing, object to the hearing of the petition if the petition is filed in a court which is not the proper court under any other provision of law for the trial of a civil action seeking the same relief and, if the objection is established, the court shall not grant the petition.