210.52 does not offer any relief because of a door swing, If the "small wall" 2 feet wide it gets a receptacle. Could the inspector miss it? Sure. But if he looks behind the door you will probably be buying some drywall.
I don't know how wide the doors are in your town, but the NEC requires residential outlets so that no point along the floor line of the wall is greater than 6 feet from a receptacle. Three 16 inch bays make 4 feet.
Using the following system, you will never have to place one behind the door: Start your measurements from each side of the rough frame openings; within 6 feet install the first receptacle, then space the rest, somewhat equally, so that there is never more than 12 feet between receptacles.
The measurement goes "as the mouse travels around the room". You even have to count that little 3 inch piece directly next to your door frame. Any entry door, fireplace, doorway, closet door openings or the like start the process all over again. But, windows (even floor to ceiling windows) count as wall space. This means the patio door that is half glass and half door can be a problem (the 6 foot measurement will have to start in the middle of the opening for one side). Same story for "pocket doors". The 9 foot wide, three section, door-window-door unit requires a floor box.
Those wall sections that are shorter than 2 feet between door openings are the only ones that escape this rule. Walls that are between 2 and 12 feet in length between doorways can get by with a single receptacle in the center.
You will never have to make the excuse: "Oh, that one is for the vacuum cleaner!" again.
By the way, this rule has been in the NEC for all of my career, which spans over 30 years.
George "closet" is not one of those rooms listed in 210.52(A) but I still think a receptacle is not a bad idea, particularly if there is a counter in there. That is where my wife plugs in her cell phone and palm chargers.
It is a design decision not a code one.
I suppose we could start the closet in a bedroom thing here too