I'm not sure if there's a "code of ethics" but, there are a few laws. Bees can't be removed from an active dwelling without ...I think it's a contractor's license and a building permit. You'd have to check that one. Also, if your not a licensed pesticide applicator you can't use any pesticide or soapy water to remove the bees. These are the only rules I know of and, so far, I've obeyed them.
It depends on what state you live in.