A lawyer in southern China is suing a judge who ordered him handcuffed to a basketball pole after he refused to sign court documents, a state newspaper reported Tuesday.

He Yunxiang called it “illegal imprisonment” after the judge in Yunnan province told police to handcuff him to an outdoor basketball pole Friday, the official China Daily reported. He had refused to sign court papers for a property case, the report said.