" The tail wagging the dog "
A small and usually insignificant factor (or person) dominates over one that is normally more powerful and influential.
Even small countries like Estonia have a veto in European Union voting and can't be over-ruled. I'd call that the tail wagging the dog.
Where did it originate?:
Where is it used?:
Hear the idiom spoken: