The High Court has barred the national government from taking over four Kiambu markets, affirming that markets are a constitutionally devolved county function.