The three officers were responding to a car wreck when they noticed a flag caught in the vehicle’s grill