most states have a statute that specifically shields cops against liability for instances where they don't enforce the law. this allows them to let certain people off.
however, the cyclist can still sue for injury. just the insurance co will use the cop's lack of issuing a ticket against them in court.
against the injured, of course.