However, Judge Collin dismissed the request for several reasons, including it being in the public interest that Palli's offending be known.
Judge Collin noted the offending had "sinister undertones" which he said he couldn't ignore.
Palli and an unknown man, who wasn't charged, went to a woman's house on Sunday, November 8 last year and spoke to her about her son's upcoming deportation file and issues relating to a lawyer payment he wanted to receive for providing assistance.
Palli told the woman "the whole of the Bay of Plenty is under my control for the protection" and for his safety, the Government had given him firearms.
As he explained that, he lifted up the front of his shirt and exposed the two imitation firearms.
Police later went to Palli's house and found the two imitation firearms.
The Rotorua Daily Post asked if this type of offending concerned the ministry.
In a written response from the ministry's communications team, ministry verification and compliance general manager Geoff Scott said it was an offence under the Immigration Act 2009 to impersonate an immigration officer.
"Whenever immigration officers interact with members of the public they will always identify themselves using their Immigration New Zealand warrant cards."
Scott said immigration officers would never visit a private residence to ask for payment of visa fees.
He said Immigration New Zealand encouraged the public to notify either Immigration New Zealand or the police should they suspect someone was acting unlawfully in this way.
"INZ welcomes the conviction of Ravinder Reddy Palli, and do not tolerate this type of offending."
As part of his sentence, Palli was ordered to pay $1500 reparation to the victim in a lump sum within 21 days.