Government can take action against erring local body representatives: Court