You are correct. That's why savvy operators have performance engineers assess the obstacle environment for each authorized runway end and provide one engine inoperative "escape" flight paths, where necessary.
There are other locations where a 1% gradient (or even less) will clear all obstacles on a missed approach.