In New Mexico the law is written similarly. We have to ride as far right as pracitceable. But then they go on to clarify that here. So we are expected to use a bike lane if there is one, and if not, ride single file allowing cars to pass safely IF the road is wide enough. If there is no space for a car and a bike, we can take the lane. If we take the lane, we still are expected to ride single file when a car needs to pass, as far right as it's safe to. We are not asked to get off the road to let cars pass, or ride through the gutter though potholes and broken glass, but are not allowed to hog it with a peloton 4 riders wide either.
Commonsense says though, If you take the lane, do it with eyes in the back of your head. I had a lot of close calls last year, getting the road wisdom back after a long time in 4 wheels. I still have somebody try to kill me daily, but it never gets as far as a close call now. When I drive the car now, I drive a lot better too.
Sometimes, especially near the colledge, I think I'm the only bike rider in town that stops at a stop sign, or signals a turn. Near the school especially, you see a lot of dumbshits riding up the wrong side of the road, weaving through the stopped traffic at a light to run it, etc. And these are the smarter ones! Never saw a bigger collection of dumasses in my life than in some of my freshman classes when I went to school. We'll get no respect with these characters on the road.