I don't see anything wrong with what they did. I rather have police doing random stops to see if the rider is the owner of the bike other then a thief. Regardless of what bike he on operating. The cop seemed to be polite and didn't give the rider a hard time. I get pulled over randomly at times. I don't mind as long as I know they are doing their job to insure safety and legitimate operation of the vehicle. If someone other then yourself was on your bike without your knowledge and the copper pulled them over, I'm sure you would all be happy about that. The fact still stands that he didn't even get a ticket...so what's the problem?
the problem i see is that the cop does not know the laws he's supposed to enforce and there is no accountability on that. fortunately the officer realized his mistake and sent the OP on his merry way with nothing but wasted time. now if the cops doesn't know the laws they are supposed to enforce what laws are they missing?