Locked up for refusing to follow an unlawful order to see the court doctor