Also, if the flight is close to full (and even Y7 could mean there are actually only 7 seats left for sale) airlines typically hold all remaining seats for airport assignment.
Or, the flight could be oversold (overbooked? not sure of proper terminology).