Man with learning difficulties should have COVID jab, judge