It's probably a male if it is spraying the walls. They are also likely to spray electrical equipment such as wall-sockets and television sets, and how they know that it is live electricity is beyond me! How they survive it is even more surprising. Are you sure it is the internal heirarchy that is the problem, and not a new aggresive male in the garden? We 'compromised' by leaving the bedroom window open so that he could 'defend' his territory.
Now we enjoy vocal confrontations an the wee hours.
A lead pill is the only answer I have, which meets with stern opposition in certain quarters.