A Polish man allegedly subjected a sleeping victim to an attack with such ferocity that he fractured multiple bones in the victim’s face, a court has been told.