Players with operator commands cannot switch player permissions.
I own a realm and I gave a few of my friends operator commands. However they can’t change other players permissions no matter what device they are on. Only the owner can. This is a bug, and is very hard to manage a server when the only person who can switch perms is the owner. They can’t switch players with member perm to visitor, or visitor to member etc.