Call Hertz and ask. You should be able to get an answer.
I think it is generally OK, however, some corp codes are restricted to USA (for example) so it comes down to the T&C of your specific rental contract. I would definitely call Hertz or DM them on Twitter and get clarfication.