Switching 3-phase power between two appliances using a 3-phase switch
I really don't know why you couldn't. If the switch is made for residential use for that purpose I don't see why not. They said it was against the building code? Not the electrical code? I could not see why the carpenters would care what the electricians did (building code versus electrical code).