The car should be secure against the curb (if there is one) so as not to roll when you are done and take your foot off the brake. Rolling in either direction could cause you to hit another vehicle. A slight roll might be marked as a minor issue while hitting a vehicle would result in a failure.