Services at the Mombasa Law courts were halted for some minutes on Wednesday following a power outage that lasted roughly 20 minutes.
Magistrates were forced to cut short proceedings and prison officers were on high alert to ensure inmates who had been brought to court did not escape.
They kept watch over them in the dimly-lit rooms until power was restored.
Many questioned why there was no generator to ensure smooth operations of court proceedings.
Here are some of the photos: