A Chinese student who made up false rape claims against a serving policeman has been jailed and told she faces possible deportation.