We had an encounter with a bunch of flesh golems. The party knew already that magic that allows spell resistance failed against them. The cavern corridors they were in had a width of 15 feet at the narrowest point. One of the spellcasters won initiative, so before the golems could react, he sent his familiar to a spot at the narrow portion of the corridor in the square of one of the flesh golems. They could not take any attacks of opportunity since they were all flat-footed. The familiar then delivered the touch spell, Stone Shape, which does not allow spell resistance to create a floor to ceiling five foot wide wall. The goal was to bottleneck the golems behind the wall using a solid fog spell behind the little partition since they had not blocked line of effect.
I loved this clever solution to the problem. It was very effective battlefield control. The one thing I was not sure how to handle was the golem that was on the square where the wall appeared. Did he automatically get sliced in half? Did the stone shape around him, trapping him in place? The spell does not specify what happens if there is something in the way of the shape being created. So, in the moment, I decided that the spell would go into effect, and the golem would simply be shunted out of the square without taking damage. Had the caster tried to shape it to trap him, that would have worked, but since it was meant to be a solid wall, the golem just got moved out of that square.
It worked well in the moment, and I was very pleased with the party's tactics. But, it got me wondering about my decision to shunt the golem. Was that a reasonable adjudication? Or would it have been closer to RAW if the golem got stuck in the stone wall that was created? It is not a big deal now, but I am wondering if the situation arises again how I want to handle it, and it would be pretty cool seeing the golem stuck in a fresh stone wall. In fact, the golem itself would have been impeding the movement of the other golems, slowing them down even more, and making the tactic even more effective than it already was.