There is nothing more demotivating than realizing that the person in charge of making technical decisions has no idea what he is talking about. You have no authority to make good decisions or hope of explaining things to willfully ignorant management. All you can do is quietly implement their stupidity and hope to avoid the fallout.