Gentlemen, please...!
Using any piping component wrong or outside the general allowed specification, will create a possibillity of failure and injury, and if this is the general way of doing things, it would be best to sit completely still and not build anything at all including pumps and pipelines.. ;-).....
OK, my point is that I have seen more problems with pipelines, including missing ways of easy mounting or dismounting of valves and other components, not using expansion joints where they should have been, than by wrongly used expansion joints.
This includes both lockable (dismantling joints) and not lockabel (expansion / dismantling joints).
Expansion joints are robust and solid pipeline components, and correctly selected by type and dimension, they can be placed almost anywhere in a pipeline construction, if correctly mounted and pipeline correctly supported.