Hi Lexavad, 
if this is related to the note 4577794, to indicate that a road is blocked by a gate, add "barrier=gate" , not a historic-city_gate ...
Split the road at the gate, and add access=private to the section that is inaccessible.