There is a special temporary permit you can get for a rental car. (Of course, I've gotten a ticket even with one of these displayed, but when I contested it they dismissed it without even checking whether I had applied for a temporary permit, so I think the OP should be able to get this ticket dismissed with no problem.)
no subject