I would be amazed if much of the US didn't have a similar building code that there must be a railing if there's a possibility of easily falling out the window/door.