Judge orders 'entitled' man photographed with foot on Nancy Pelosi's desk to be kept in jail