A judge has allowed Florida prison officials to enforce a policy that withholds gender-affirming medical care in prison.