An off-licence has been ordered to close after selling illegal tobacco and vapes as well as individual cigarettes.