Why is it illegal in the UK to play KnockKnockGinger but legal in the rest of Europe?

Map answers the question "Is KnockKnockGinger illegal?"
Map answers the question "Is KnockKnockGinger illegal?"

KnockKnockGinger is a game or prank where you ring someone's doorbell or knock on their door and then run away. Since 1829, it's illegal to do that in the UK, but there is no law against it in the rest of Europe.

Does anyone know why that is?

Updates
+1 y
To clarify... My source says that the Metropolitan Police Act 1854 has labelled it an offence to "willfully and wantonly disturb any inhabitant by pulling or ringing any doorbell or knocking at any door without lawful excuse."
Why is it illegal in the UK to play KnockKnockGinger but legal in the rest of Europe?
Post Opinion