Pastiche.
Here is a quote from Conan the Rogue: "The gate itself was made of massive timbers. They fit the opening none too well, and to Conan's initial amazement, they appeared to be barred on the outside."
The city was using the fort as a prison of sorts, so they didn't want the people on the inside getting out.