suggests that
opposing a powerful authority while living or working within its sphere of influence can be particularly difficult or risky.
It’s ill sitting at Rome and striving with the Pope.
For example, it is not wise to make enemy anf fight with somebody who has power over you in the area where you live or work. This is a situation where “it’s hard to live in Rome and strive against the Pope” applies.