On the Bose occupancy problem with randomized energy levels