Court jails farmer for defilement