There is no right of private defence against an act which does not reasonably cause the apprehension of death or of grievous hurt if done or attempted to be done by a public servant acting in good faith under colour of his office. There is no right of private defence in cases in which there is time to have recourse to the protection of the public authorities. The right of private defence in no case extends to the inflicting of more harm than it is necessary to inflict for the purpose of defence.