Here in Japan riding on sidewalks is illegal unless the sidewalk is specifically marked for bicycles (many are). The penalties for riding a bicycle on a sidewalk can be as severe as a 50,000 yen fine and 3 months in jail. However, this being Japan, where laws are either viciously enforced, or not enforced at all, the latter is the case, and about half of people ride on the sidewalks.