China and Canada have a treaty where Chinese military is legally allowed to send in military to protect Chinese assets on Canadian soil.