What does the consulate do?

Can you answer this question?