In Polish Sejm (the "lower" but actually more important house of parliament), there are a few restaurants and they sell alcohol. So a deputy can just step outside, have a few alcoholic drinks, and vote. People in other professions would be fired on disciplinary grounds.