Detroit Lions receiver Jameson Williams narrowly escaped being arrested for carrying a concealed weapon earlier this month ...

and police are now investigating why he was let off the hook. 23-year-old Williams was riding around Detroit with his brother after midnight on Oct. 8 .

.. when the vehicle was pulled over for a traffic violation.

During the stop, Williams' brother told cops there were two guns in the vehicle ...

and one was located under the NFLer's passenger seat. According to WXYZ in Detroit , one weapon was registered to Williams' brother, who had a concealed pistol license ..

. the other was registered to Williams, who did not have a CPL. Williams was alerted he would be taken into custody for carrying a concealed weapon .

.. but according to the outlet, he tried to use the "I'm a Lions player" card several times -- which didn't really impress the officer.

Williams' brother also tried to take responsibility for both guns ...

but the former Alabama star later admitted one was his, claiming it was "for protection" because he lives in Detroit. The receiver was ultimately placed in cuffs and put in the back of a squad car ..

. and while it seemed like he was well on his way to jail, it all changed when a supervising sergeant showed up. The supervisor -- who, according to the outlet, had a Lions-themed background on his phone -- seemed upset with the officers on the scene .

.. saying, "I'm so mad at you two.

" After he made a few calls, the supervisor was heard on the phone.