If, however, it appear on the trial from the plaintiff's own showing that the title to real property is in question and such title shall be disputed by the defendant the magistrate shall dismiss the action and render judgment against the plaintiff for the costs.
S.C. Code § 22-3-1150