Farmer in court for fraud