A landlord and ex-Garda has been committed to Mountjoy prison for six weeks for what the President of the High Court described as the "flagrant breach" of undertakings he had previously given to the court in relation to one of his properties, which Dublin City Council has deemed a fire risk.