A stud farmer who posed as a vet and kept animals in such poor conditions some had to be put down has been told he is facing jail.