Taiwan legalises