I can't imagine blocking an optional door would cause you to not pass inspection. But it's a nice extra if the plumbing/electric are done in such a way that opening the door allows you to fix anything that needs fixing. If anything went wrong behind my shower wall I'd have to rip everything out. What you don't want is some mechanic/inspector to open that door and mess up plumbing/electric threaded through it.