If the mainline strikes the answer is easy: Nothing in that paint moves, period, end of story.
Not so easy in the other direction. The answer would require communication and coordination between the respective leaderships. One would hope that such discussions would center upon how the mainline could support the efforts of the striking group rather than how to work around them.