Not always the case, you could be physically removed from the plane because the flight is full:
https://www.flyertalk.com/articles/overbooked-united-flight-...