Section 199(2)(a) of the Local Government Act 2001 provides that a local authority may make a by-law where in its opinion it is desirable in the interests of the common good of the local community that any activity or other matter should be regulated or controlled by by-law, or that any nuisance should be controlled or suppressed by . The making of such bye laws is a matter for decision by individual local authorities and is a reserved function of the elected members.
However, section 199(2)(b) of the Act provides that a by-law may not be made for a purpose as respects which provision for that particular purpose is made under any other enactment. As regards the matter referred to in the Question, I understand that relevant provisions are contained in the Criminal Justice (Public Order) Act 2011, which is the responsibility of my colleague the Minister for Justice and Equality.