Cycling itself is ok per se, but it's the effects of cycling that can pose a problem.
What if you fall? what if there's accident? what are the chances of falling and accident compared to... walking or taking the cab?
It's all common sense.. Would you really want to risk it?