Man refused entry to court because of shandy admits having c