Obviously you can’t install a service panel over a bathtub, but how about an abandoned panel being used as a junction box? Bad idea, sure. But is it prohibited? I’m suggesting an electrician come in as the new service panel wasn’t permitted, but I’m curious what others think of this.
My, my. Another “what were they thinking” moment. Bad Idea. Major safety hazard.
At least screw it shut…lock it shut somehow…sheesh!