It's not illegal (in the US anyhow). And, don't forget it's 400 feet AGLOf course you do know flying above 120M (400') is illegal, right?
While guidelines are not laws, I'm sure the FAA will have no trouble finding an applicable law if you do something unsafe with your aircraft that gets their attention.So the guidelines are not the law, only suggestions. Right?