What happened when terminal overbooked

If one’s terminal have been allocated PAX more than its capacity, what will happen? The rating for flight will go down? And if there is any other punishment for that?

the capacity-exceeding pax are handled by the AS terminal. this will reduce the rating