With reference to the Karnataka Police (Amendment) Act, 2021, consider the following statements:
1. It amends the Karnataka Police Act, 1963, making all forms of gambling, including online, a cognisable and non-bailable offence.
2. Recently, the Madras High Court struck down the Tamil Nadu Gambling and Police Laws (Amendment) Act, 2021 as being ultra vires.
Which of the statements given above is/are correct?