At first I was just wondering what the point of this Monster Gate is. Then I thought it might be a bug. Maybe you're supposed to fight before you can get the key behind it.
(There was a key to the right of it, I only saw the Gate after I ran around the top path. So I dumped the key ahead and came back to make the screenshot. Invisible so I don't get eaten while doing /clear and getting a good spot.)
You kinda answered yourself there.
First you go thru that path as a sort of mini-shortcut, but when you grab the key, you are forced to take the much narrower hallway at the top, in wich you're more likely to get hit by zombies.
It's... a trap. Indeed kinda small and meaningless but does it's job.