Even if he was off duty it doesn't invalidate the citation. I used to hang out with an Baltimore (admittedly Baltimore County) police officer. Seen him write tickets "off the clock" a few times. Sometimes he's in uniform, sometimes not.