Last time I arrived with just 20 minutes to departure.
The check-in counter agent could not check me in, and could not print my boarding pass.
I thought I was going to miss my international flight, but instead he issued me a gate pass that allowed me to clear security. He then phoned the gate agent who was able to print my boarding pass.
It was really incredible service... and I'll never cut it that close again.