Clearly, if a building is not functionally and technically in order, then it isn't architecture either, it's just a building.
If a building becomes architecture, then it is art.
In addressing a task, one almost always has several possible options, sometimes only a few, and they may all be practical and functional. But they lack the aesthetic aspect that raises it to architecture.
Architecture tends to consume everything else, it has become one's entire life.
I don't see that any buildings should be excluded from the term architecture, as long as they are done properly.