We don't have an obligation to call somebody by their real name nor should we have an obligation to use their preferred pronouns. We should do it out of respect, but we shouldn't be obligated to do so by law or some other rule.
I've not seen someone suffer negative consequences for calling someone else the wrong real name. I've seen instances of negative consequences for someone using the wrong pronoun though.