Councillors have stopped owners of a former restaurant from operating the premises as a night club after safety concerns were raised.
Owners of Club Ven-You, the former Oriental restaurant, off Southgate, Pontefract, applied for a Temporary Event Notice to hold a club night at the premises this month.
Wakefield Council’s Licensing Sub-Commitee meeting was told that the application could compromise public safety.
The panel members were also told the club night could cause problems for people living nearby.
The local authority issued a Counter Notice, effectively rejecting the application, after hearing objections from Environmental Health and West Yorkshire Police.
Andrew Garthwaite, who was representing West Yorkshire Police, told the meeting earlier this week: “The premises have been the subject of building work without planning permission.
“The building work that has been therefore undertaken is illegal and has not been assessed.”
The application was for permission to use a restaurant and bar at the site with music from 6pm on June 24 until 4am on June 25.
Mr Garthwaite added: “To grant a Temporary Event Notice would be a brave decision and a dangerous one.”
He said that in December 2013, officers discovered remnants of a cannabis farm at the site.
Frances Woffenden, representing Environmental Health, said: “We would have serious concerns about these premises being used as a night club.”
She said one resident had already complained about noise and it was “realistic” music could be heard from Pontefract Hospital.