He was surprised to be arrested and surprised to learn that it was an undercover police officer, Hull Crown Court heard ...