Lang field for Whisper API doesn't seem to work

I tried to set the lang as “en” along with the audio file which obviously contains speech in other language. And it still recognized the other languages. If it is expected?
If the lang field is used to enforce thats the only language in the speech or just let the api knows thats that language is prioritized?