(2)Notwithstanding anything contained in Section 587, a court may take cognizance of an offence under sub-section (1) upon the complaint of the owner or occupier or other person incharge of the property in respect of which such offence is alleged to have been committed.