Any stall condition is considered unsafe as it can cause a loss of steering assistance and braking power. They shouldn't have given you the car back knowing this. Not to mention, being stuck on the side of the road increases being hit by rubberneckers.. (Think 401 idiots)

I had a rental vehicle when my wheel bearing went- seems like your dealership is full of lunkheads in the maintenance department at the service desk.