A.V.
What we did was to get a plastic, curved gate for the top of the stairs (to allow the cats a "landing zone" on the other side. It's screwed into the wall on one side and affixed to the iron railing with heavy-duty zip ties on the other. It's served us well for 2.5 years now.
Every baby gate has pros and cons, but that works for us.