A farmer protesting at Fermoy Mart about cattle with horns allegedly being sold to him caught a detective garda, pulled him in through the window of his truck and stabbed his hand with a metal object, it was claimed on the opening day of a trial yesterday.