Really? I typically go through immigration control, then get my bags, then go through customs.
I can’t imagine how you could go through customs without your bags and have them have specific evidence of your customs violation. I always assumed that’s why some airports make you manually handle luggage and “carry it over a line” to give back for rechecking.