Good move, let the Supremes sort it out.
The Alabama law says that federal gun laws are a violation of the 2nd amendment. Therefore, this law ensures that the Supreme Court would have to sort it out if a federal gun law is passed and Alabama ignores it.
First, someone at the Federal level would have to charge a state with ignoring a federal law.
Now THAT would be fun to watch.