Judge orders release of farmers’ rights activist