Some 80s flick with Judge Reinhold is my guess.
https://www.imdb.com/title/tt0085255/?ref_=fn_al_tt_1