Court jails farmer for possessing narcotic drugs