Of course they had it planned, and of course it was a "provocation". In sane countries, such "provocations" - public performances aimed at focusing public attention on important public issues - are called demonstrations, and it is a regular part of public discourse. Rosa Park's actions were "planned provocation". Martin Luther King made "planned provocations". People that went to the Red Square in 1968 to protest Soviet invasion of Czechoslovakia made a "planned provocation". https://en.wikipedia.org/wiki/1968_Red_Square_demonstration
Since the official Church in Russia is not only completely united with the state, despite formal separation of church and state, but also enjoys multiple benefits of such arrangement, both pecuniary and otherwise, it also is a legitimate target for protest.
As for "screaming profanities in the cathedral" - this is factually incorrect, they did not. But even if they did, it is not a criminal offense - causing somebody a mild butthurt is not a crime warranting imprisonment.
Your comment of "there are many ways to get yourself arrested" is classical case of blaming the victim - if they just would shut up and gave up their rights and freedoms as other good boys and girls did, nothing would happen. Probably so. But some people are not OK with their freedoms taken away. Some protest. Putting a blame on them for "provoking" oh so innocent regime into locking them up for 2 years is disingenuous at best.