Loony Laws, Silly Statutes and Wacky War Crimes is an old law book.
When Montgomery Burns State Prison needed to be filled, Chief Wiggum used the book, because it contained many silly laws. One of them from 1834 is that a man must no be hatless during daylight hours. Another law is that you must not tie an alligator to a fire-hydrant,
Homer later went to the prison after he kicked a can for five times, what was considered as illegally transporting litter.