A West Texas judge has been sanctioned for making racially insensitive comments about Mexican people and using the prestige of her office to oppose a solar power farm being built next to her family's land.