Setup: the local Walmart just replaced all their cart corrals.
What’s wrong with this picture?

As nearly as I can tell, the installers permuted the railings; a simple three bit rotate-left-by-one operation would fix it.
Not much to my surprise, every single corral looks like that; either the instructions were wrong or, more likely, the installers never read the instructions. Obviously, they didn’t think about the results and nobody ever checked the final result.
Prediction: the corrals will look like that forevermore…
The corrals at our local Walmart are assembled correctly, which evidently, for psychological reasons, discourages the locals using them.
Some years ago, the Town of Poughkeepsie mandated a cart locking system: stick in a quarter to get a cart, get the quarter back when you return it to the corral. We turn a small profit by returning abandoned carts from the lot, making up for the occasional loss when one won’t disgorge our quarter.
That Walmart is in Fishkill, where carts roam free and most people corral them, anyway.
(Yes, I could 3D print a slug or a tool, but, no, I haven’t… yet)
It was amazing to see how many carts ended up in the creek near a San Jose discount supermarket, though it was in a modest-to-good neighborhood. Before that, I lived in a pretty rough section of town, and that discount market fenced off the area just in front of the store so you couldn’t get the cart to the parking lot (and beyond!).
Also in the SF area, one brand of mid-range markets did a claim-check system, with people to load your groceries into your car as you pulled up. I don’t think that system lasted. I suspect recovering/losing carts cost less than paying loaders and ticking off customers.
One of the grocery stores uses a perimeter wire antenna that locks the cart wheels; it’s apparently pretty effective. Certainly less hideous than a line of narrow-spaced bollards along the curb…
They use such a wheel-blocking system at the local Lidl here too.
Back in the early 2000s, we temporarily borrowed a grocery store cart to use it to film a tracking shot. whistles