There is a good chance that what the airline did was a violation of its contract based on what an attorney has found in the United contract and common carrier agreement. They can prevent someone from boarding if the flight is overbooked. But they cannot take someone out of their ticked seat involuntarily once they have boarded. Finally, they cannot take someone off the plane to allow employees to fly in their place.