In recent years, Beijing has become a lot more selective in how, where, and when it deploys the assertive diplomatic tactic.