They weren't just caught at the gate, according the NZZ (Zürich) - they were seen by ground personnel drinking in bars "before the flight". How long before wasn't stated.
Hard decision for the ground crew but the correct action. To my discredit I once flew with a captain who was under the influence and I noticed it. What did I do? Nothing. As I mentioned in another thread, we need to report more.