My short answer is "no" and I will speak in general terms and avoid a huge discussion on meter sockets, and power company requirements.
The purpose for the 1/4" gap is mainly for the manufacturers of the electrical equipment - so that when they make the enclosures in the factory, they will automatically have the 1/4" gap in the rear (if the enclosure is mounted on a solid surface). Keep in mind here that the
intent of the code is to prevent the rear of the enclosure from corrosion.
I have heard it argued by some that the purpose was to have "air" be able to flow behind the equipment thereby providing a means to "cool" the enclosure. This is not the intent.
If a contractor mounted the equipment in brick or some other surface and it was sufficiently sealed around the enclosure such that water could not enter behind the equipment at all, then I would say that the intent of the code is satisfied, and move on to the next inspection. I for one am guilty of violating this code. When I had my electrical contracting business, I would purposely silicone seal around every enclosure, after I mounted it to the building surface. Hence, no gap. However there was no way for water to penetrate behind the enclosure.
If anyone has documentation to the contrary, I would be interested in seeing it.
Lastly, here is what the handbook has to say:
handbook link 
Bryan if you are reading this I will give you a call next week. I've been busy lately so I apologize for not calling.