cases of forcible entry and unlawful detainer: Provided, That when, in such cases, the defendant raises the questions of ownership in his pleadings and the question of possession cannot be resolved without deciding the issue of ownership, the issue of ownership shall be resolved only to determine the issue รof possession; and