A Foreign Office spokesperson says David Cameron is "regretting his mistake".