"Sec. 17. Judgment. - If after trial the court finds that the allegations of the complaint are true, it shall render judgment ...