Second, race. Accusing someone of racism simply doesn't end well. Especially if that person is in a position of authority, then it really really doesn't end well. I don't think it's beyond the realm of possibility for a police officer, responding to a burglary, to ask and expect your cooperation. Sure sure you are pissed 'cos it's your house but the most expedient thing to do would have been to cooperate with the officer (even in the face of unreasonable requests) at the scene. And then file an harrassment case with the department. Just because you are the owner of the house doesn't mean there couldn't have been burglars in your house without your knowledge.
In any case, from my thankfully limited dealings with the police and other people in uniforms, I think it's more likely a case of abuse of power than racism.