Rob Ogden was unfairly sacked as 'swearing is more common in the North', a judge said