Is there any code regarding in-wall convection ovens?
A stand alone appliance will always come under Underwriters Laboratories jurisdiction.  The manufacturer's install instruction will dictate proper guidelines. If a local inspector is involved he can and sometimes does ask for this literature and check things out.  Involving a convection oven, I would rigidly follow these instructions and even might error on the side of caution.