China’s aggressive policing of disputed territory has produced the latest clash in a long, complex relationship.