I can understand the principle of needing a house code, especially in cities where a fire or something could spread rapidly, but denying a permit to a house owner on the grounds of not being a professional seems a bit illegal here in the US.
It would be a bit like saying you can't change your car wheel or brakes if you aren't a professional mechanic
"Oh, yes. It's perfectly legal for you to change your brakes. You just need to apply for this permit."
"Oh, I'm sorry. Your permit was denied. No, we don't have an explanation. If you want, you can file an appeal and we'll get to it in 6 months."
Banning through red tape, rather than legal grounds.
Lawyers are a special kind of demon. Fortunately they hate getting whacked by a flaming wet mop.
So, hell's where y' ended up. Had high hopes for ya, boy. Y' disappoint me.
Because, Barry! This is how you get ants!! You a!%%@#$!!