Passenger handling agents at the departure gate are not supposed to allow drunken passengers to board the aircraft. They do not even need to ask the captain if they want to offload someone but of course it is much easier for them to get rid of such passengers by allowing them to board the aircraft and hope nobody notices.