OSAKA - A district court ruled Wednesday in favor of two subway drivers who had sought compensation from the Osaka municipal government, claiming they received poor performance reviews for refusing to comply with internal regulations banning beards.