I'm curious, what connection to Canada does a Tehran-based web development company have?
Many registration authorities choose to let anyone buy their domains because it's a big source of income. Libya is one of those (or always used to be. Since the revolution it's been less clear).