A known burglar who was bitten by a police dog after a breaking into several homes is planning legal action, a court heard.