The officer in China's south-west Yunnan province pulled the king cobra out from the dashboard.