Court rules on drone registration