It doesn't "win" in the sense that they get a direct, share-proportional vote during board meetings. That is the role of the board: it is the one that votes on CEO.
I don't think a court examining the board's removal of matt would conclude they acted improperly based on some gross simplification to "the role as majority shareholder role wins", that's why the board was able to legally remove matt. They made the right call, and matt subsequently made a different call in removing them because he was mad and full of himself. Both calls seem technically legal.