Councils could be given powers to enforce law to stop people blocking paths with instant penalties