Kraków, which received 8.7 million overnight tourists last year, had appealed for a change to the law.