"every person who, by means of any cart, carriage, sledge, truck, or barrow, or any animal, or other means, wilfully interrupts any public crossing, or wilfully causes any obstruction in any public footpath or other public thoroughfare" . . ."shall be liable to a penalty not exceeding £1000 for each offence, or, in the discretion of the justice before whom he is convicted, may be committed to prison, there to remain for a period not exceeding fourteen days"
-Town Police Clauses Act 1847 [as amended].
BTW, the same piece of legislation makes it an offence (punishable by up to 14 days in prison) to beat any carpet, rug or mat in the street, except if it's a doormat and you ensure that you beat it before 8am. ;-)