What a goof, but this raises an interesting issue. Remember the Northwest episode a few years ago in Detroit? Was it 12 hours on the ground in a snowstorm? At some point, a "reasonable" delay becomes unreasonable. Obviously, a Captain cannot hold an airplane full of people on the ground indefinitely. So where do you draw the line? 7 hours? 12?
Maybe it's just me, but if I'm sitting there for 7 or 10 hours, and every reasonable request for a gate has been denied, I'd issue the company an ultimatum. Either get me a gate, or airstairs plus a bus or two, or I'm going to declare an emergency, probably a medical, and get those people off the airplane.