It was due to demand on its Accident and Emergency combined with the lack of beds available