The immunity that public officials need to do their jobs is not a get-out-of-jail-free card for their nonofficial acts.