In PRC usage,
司法机关 covers the courts (
法院, fǎyuàn), procuratorates (
检察院, jiǎncháyuàn), and public security organs (
公安机关, gōng'ān jīguān) when carrying out judicial functions. Western 'judicial branch' typically excludes the police, so the scope here is broader.