When any Court has under section 480 or section 482 adjudged an offender to punishment or forwarded him to a Magistrate for trial for refusing or omitting to do anything which he was lawfully required to do or for any intentional insult or interruption, the Court may, in its discretion, discharge the offender or remit the punishment on his sub...