Have been op-upgraded at the gate many times after checking in at the machine. My economy boarding pass was exchanged for a business class boarding pass when I boarded. In this case the automatic boarding gate will not work, it will send you to see the agent.