Court rules against man who was forced to fingerprint-unlock his phone