Judge rules with city on ladder truck