Are employers allowed to give out bad references?
The simple answer is that no-one is supposed to give a bad reference, they can decline to give one at all, but should not give a bad one. Most employers would give a reference and only put positives in it. To be honest if they declined to give one at all, i would think that was worse. Good luck with the new job.