The government of Catalonia can hold a referendum following the Law. The problem here is that the government of Catalonia is not following even their own regional laws approved by them, not to mention the Spanish Constitution.
The secessionists have even forbidden the opposition to participate in the debates in the Parliament of Catalonia.
Remember also that Catalonia has never been a nation.