A border wall made of solar panels wouldn't actually be good for the environment

Is this a bright idea?