Public can see Bieber video but not private parts, judge rules