Struggling smartphone maker BlackBerry has been dealt a major blow after court records revealed that the Royal Canadian Mounted Police has a copy of the company's global decryption key.