It's not a legal approach, it's a social one. In happy socialist countries like Denmark, bike locks aren't really a problem : they consist of a short hook blocking the rear wheel and that's about it. It's completely inefficient, but it's obviously enough there.