Cities face legal obstacle to safer biking