With the backing of the Canadian government , Research in Motion has argued in court that NTP 's claims do not apply to BlackBerry software because it is held only on computers near its headquarters in Waterloo , Ontario .