A judge at Nottingham Magistrates' Court ordered the mini market closed for three months