Influence is not the same thing as authority. A prime minister is usually more involved in politics than a monarch, but the monarch has higher authority (not saying Peter was a monarch, just making an example of authority vs influence).
Paul rebuking Peter just shows that he wasn't infallible...