The prime minister says the restrictions "no longer apply" and hopes President Xi will visit the UK next year.