In-office coup

My question is: How can supposedly educated people call something someone did while in the office a “coup” to take over that office?