Any reason they shouldn't be prosecuted? If you or I cut through someone's yard and kill someone's dog, we would be. If a police officer has no legitimate reason for entering a person's yard, why should he be treated any differently?
They shouldn't. But if they knocked politely at the door and asked to use the yard, most folks would let them. Remember this was a warrant service, not a hot pursuit, they could have made time.