AI infantry seem to ignore stance commands when they are positioned in the L-shaped slots along the outside buildings.
If you attempt to position AI next to an object or structure, the cursor will usually automatically select one of these position slots if available. The AI subordinate will then stay in one stance no matter what combat mode they're in, and ignore any explicit stance order you give them.
I'm assuming the idea is that the AI are trying to use the 'best' stance for the object they are positioned against. However, with large walls (like houses) they seem to like to stand up, and I'm not sure that is desired behavior. In any case I think it would be nice to have direct control over their stance as much as possible.