Crossing the boundaries : from "outsiders" to "insiders" in early-Tang-dynasty China