After the trial of the action of replevin, an issue shall be made between the successful party and the claimant as to the validity of his claim, and a trial shall be had to determine the right of possession as between them and judgment entered accordingly.