In a 5-4 ruling, the court upheld a law which makes it illegal to list yourself as a gun's buyer with the intent of selling the gun to someone else.