The HC bench of Justice Mamnoon Rahman and Justice Khijir Hayat passed the order when the SP appeared before the court and rendered unconditional apology.
The HC also fixed February 17 for delivering judgment on the matter.
Besides, the court asked the authorities concerned to ensure security of presiding officer Shahjahan Ali and his family.
Advocate Ahmed Ishtiak stood for the SP while advocate Mansurul Haque Chowdhury represented the presiding officer. Deputy Attorney General Taherul Islam was present from the state.
On January 20, the High Court summoned Kushtia SP after noticing a report published at a newspaper over the issue.
Later, SP SM Tanvir Arafat filed a petition with the HC on Sunday seeking unconditional apology for his misbehaviour.
Earlier, Kushtia Senior Judicial Magistrate Mohammad Mohsin Hasan sent a petition to the Supreme Court, Law Ministry and Home Ministry.
According to the petition, the Magistrate said the SP misbehaved with him during municipality election at Bheramara Pilot Model High School on January 16 which is a violation of the section 69, 70,74, 80 and 81 of the Electoral Code of Conduct 2010..
He also informed the Bheramara UNO about it.