Bail refused for man charged with having imitation firearm a