pass oneself off as

Intermédiaire supérieur (B2) neutral

To trick people into thinking you are someone or something that you are really not.

"She passed herself off as a journalist to gain access to the conference."