27-7-102. Action by court. The court must thereupon hear and determine the case and render judgment thereon as if an action were depending.