All the passengers MUST leave the aircraft and for those who are continuing their trip to Taipei have to go through the transfer security. (simply follow the sign when you leave the plane.)
Based on my own experiences, BKK would be the final destination for 50~60% of the people from LHR. Some other guys from BKK will join your journey to TPE tho.