You're saying unexpected but China has likely simulated this situation a million times and prepared a plan. I would bet China is constantly monitoring for such deployment and will react long before the troops set foot on Taiwan. AFAIK nearby island are already heavily militarized.
Also I'm not sure how people of Taiwan would react to such deployment. Neither Taiwan nor China recognize each other as a separate country. They both claim to be the righteous government to one unified China.