Taking of ABC, beer permits sets off court scramble for nightclub