I would much rather force the dims to political capitulation.
It would be a more pleasurable way to get the wall.
I can't speak to the legalities of a national emergency, but congress has approved wall funding once or twice, pols of both parties have advocated for it.
Climate change....not so much.