The Onion filed an amicus brief with the Supreme Court