As I understand the old Sweden documents, there is kind of lifting machine for the gun inside the turret. It was load in low position and than it rises for firing, sticking the barrel through the hole, closed at the moment counterbalance valve.
Next photo ->