7 . All courts and Magistrates shall take judicial notice of such by-laws when the same shall have been confirmed and published as aforesaid. *By-laws to be taken judicial*