Taking the advice I learned on this site...I created a deck railing wall definition which adds a layer to the inside of the deck rail using "opening no material". This "trick" does offset the deck rail...moving the entire rail, posts and rail together toward the inside of the deck so that the newels don't right on the edge of the deck. It just looks more realistic.
However...this also increases the overall wall width...and "sometimes" I end up with a wall line on the inside. I do
Here is an other technique of doing this side mounted deck railings. The method applies the same way as erric explained about the use of invisible walls to define the deck, but no need to mess with an other room definition as it may cause complications you mentioned. Rather simply put a ramp(0 slope) around your deck and lower its elevation after you place it in plan view. So there are two alternative railing applications here. Ether use the railings of the ramp it self(since ramp with 0 pith is