In a bombshell court decision