India has learned that bilateral ties and economic interdependence do not constrain China's territorial ambitions. That is a lesson Japan should heed.