"Code"
yeah, that is bad design, for a number of reasons. ... but so too are 'pull' handles on push to open retail doors, for example.
Quick, call the design police.
As much as I loath bad design, do we really need a design police for peoples private property? ...and why do we have it for only the people with money who have hired architect? ...why not send those code enforcers into trailer parks? ..check under peoples mattresses to make certain they're not using press-board for structure... ...check the mattress for urine and bodily fluids which might have a safety risk. ...think of the children!!