The gate agent should have involved a manager in this and the manager should have resolved it with compensation. This could have easily been avoided. This happens quite a bit, just this time the passenger needed to get home and they went to kick him off AFTER he boarded. They should have held the last 4 people off the flight for the flight crew.