A dismissal can still be unfair even when your employer is genuinely convinced you did something wrong.