I am performing duty in Police dept. I keep beard but wear full pant shit. Occasionally, I become imam in nearby masjid wearing full shirt due to non availability of any alim during namaz time. Is it correct?
بسم الله الرحمن الرحيم
In case there is no Imam available and there is no other abler person who could lead the salah then you may lead the salah. In common situation salah in pant and shirt is makrooh tahrimi, and in case of compulsion it is allowable.
Allah knows Best!
Darul Uloom Deoband