A Frenchman staying on Koh Samui has been ordered to leave Thailand amid accusations his actions stirred religious division and conflict among foreign tourists.