Flying back to Dublin from Portugal last month on a late flight this happened with Aer Lingus - not overbooked but one of their cabin crew was unwell and they have to have a passenger/crew ratio - needed 30 people to wait until the next day - they offered hotel & €400pp who would stay. They managed to get the 30 people after a lot of hassle. In fairness to the crew at the gate some of the passengers were very abusive and others were videoing the whole thing on their phones.... I expected airport police to come but it eventually got sorted out.