That sort of thing tends to be frowned upon by the authorities.
Does making your house unattractive to mice break any law? If not, they (not sure who) can frown all they like, surely?
By doing that? Yes, it's generally considered to be a contravention of the law.
@Raymo started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
That sort of thing tends to be frowned upon by the authorities.