Thousands of police officers in Beijing and Shanghai stood guard on Wednesday in a show of force to ensure that one of China 's most sensitive political anniversaries did not erupt into a new wave of angry protests against Japan .