徇私枉法: take bribes in order to turn a verdict in sb.'s favour; act with partiality and defeat the ends of justice; bend the law for the benefit of relatives [friends]; tailor the law to suit one'
徇私偏袒: have partiality for sb.; show favouritism to sb.; be partial to and side with ..