The code is a legal requirement. If the code did not set mandatory minimum widths for parking stalls, builders could still set them at 9 feet wide.
The point is that if you are builder who wants to build a 7 foot wide parking stall (or avoid parking stalls altogether and just have the cars park themselves as efficiently as possible) you are not legally allowed to do this.