The tail was flexible at the base but sheathed in a lattice of bony rods ; this allowed it to be carried in an upturned position . The tail was flexible at the base but sheathed in a lattice of bony rods ; this allowed it to be carried in a sharply upturned position .