Your answer completely makes sense to me. We could have an explosion!Yes its a problem. No valves are allowed on the safety vent. If you want to add a valve to the hot distribution pipe, it must go after the Tee on the downwards section of the vertical pipe.
I don't fancy messing with the shortish vertical pipe. So, I will substitute the gate valve in the loft instead, and take a gamble with degrading rubber in the ball valve.