Again, if you seize the throne by force by killing the previous king, you are the king, regardless of claim or bloodline. Divine right of Kings wasn't quite a thing yet.
The Romans did this quite often. It isn't a recipe for political stability, so you might not be king for very long, but it...