(a)takes the name, designation or character of a constable for the purpose of obtaining admission into any house or other place or of doing or procuring to be done any act which such person would not be entitled to do or procure to be done of his own authority, or for any other unlawful purpose, or